GetDibFromGdPictureImage Method (GdPictureImaging)
Exports a specified GdPicture image to a DIB object, known as Device Independent Bitmap (DIB), as an IntPtr value.
Please note that it is your responsibility to release the returned DIB object once you have no use for it.
public IntPtr GetDibFromGdPictureImage(
int
)
public function GetDibFromGdPictureImage(
: Integer
): IntPtr;
public function GetDibFromGdPictureImage(
: int
) : IntPtr;
public: IntPtr GetDibFromGdPictureImage(
int
)
public:
IntPtr GetDibFromGdPictureImage(
int
)
'Declaration
Public Function GetDibFromGdPictureImage( _
ByVal As Integer _
) As IntPtr
Parameters
- ImageID
- A unique image identifier of the GdPicture image representing the image to export.
Return Value
A pointer to a newly created DIB object, known as Device Independent Bitmap (DIB), as an IntPtr value, containing the specified GdPictureImage data. The
GdPictureImaging.GetStat method can be subsequently used to determine if this method has been successful.