CADability dotNET
Sets the Data of the UnscaledIcon.

Namespace: CADability.GeoObject
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)

Syntax

C#
public void Set(
	Bitmap bitmap,
	GeoPoint location,
	int offsetx,
	int offsety
)
Visual Basic
Public Sub Set ( _
	bitmap As Bitmap, _
	location As GeoPoint, _
	offsetx As Integer, _
	offsety As Integer _
)
Visual C++
public:
void Set(
	Bitmap^ bitmap, 
	GeoPoint location, 
	int offsetx, 
	int offsety
)

Parameters

bitmap
Type: System.Drawing..::..Bitmap
The icon to be displayed
location
Type: CADability..::..GeoPoint
Position where the icon will be displayed
offsetx
Type: System..::..Int32
X-Position in the icon where location is applied
offsety
Type: System..::..Int32
Y-Position in the icon where location is applied. (0,0) is lower left of the icon

See Also