User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_bitmap.loadfrombitmap_ipicturedisp_widestring

Table of Contents

ITGIS_Bitmap.LoadFromBitmap method

DK for ActiveX | TatukGIS_XDK11.ITGIS_Bitmap.LoadFromBitmap | Methods | Properties

Load a bitmap from a platform-specific bitmap object.

Syntax

// 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
  );

Parameters

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.

Remarks

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)

References

2026/09/20 23:44

Page Tools