CADability dotNET
Assure that the bitmap will be available when DisplayIcon(GeoPoint, Bitmap) will subsequently be called. (Some implementations cache the bitmap or transform it into an convenient format)

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

Syntax

C#
void PrepareBitmap(
	Bitmap bitmap,
	int xoffset,
	int yoffset
)
Visual Basic
Sub PrepareBitmap ( _
	bitmap As Bitmap, _
	xoffset As Integer, _
	yoffset As Integer _
)
Visual C++
void PrepareBitmap(
	Bitmap^ bitmap, 
	int xoffset, 
	int yoffset
)

Parameters

bitmap
Type: System.Drawing..::..Bitmap
The bitmap
xoffset
Type: System..::..Int32
x-component of the origin that defines the insertion point (e.g. to center the bitmap)
yoffset
Type: System..::..Int32
y-component of the origin

See Also