DK for ActiveX | TatukGIS_XDK11.ITGIS_Bitmap.LoadFromBitmap | Methods | Properties
Load a bitmap from a platform-specific bitmap object.
// C# public void LoadFromBitmap( IPictureDisp _bitmap, WideString _path );
' VisualBasic Public Sub LoadFromBitmap( ByVal _bitmap As IPictureDisp, ByVal _path As WideString )
// Oxygene public procedure LoadFromBitmap( _bitmap : IPictureDisp; _path : WideString );
| Name | Type | Description |
|---|---|---|
| _bitmap | IPictureDisp | Platform-specific bitmap object, such asTBitmap on VCL. |
| _path | WideString | Path value assigned to the bitmap and treated as its unique name. |
PURPOSE: Wraps or copies bitmap data from a native platform bitmap object into this DK bitmap.
BEHAVIOR: Replaces any currently loaded bitmap, creates a new internal bitmap from, and stores in thePath property.
USAGE: Use this overload after obtaining a bitmap from platform UI or imaging code.
bitmap.LoadFromBitmap(native_bitmap, image_path) viewer.DrawBitmap(bitmap)