A unique image identifier of the GdPicture image representing the image to export.





In This Topic
GdPicture14 Namespace / GdPictureImaging Class / GetDibFromGdPictureImageI Method

GetDibFromGdPictureImageI Method (GdPictureImaging)

In This Topic
Exports a specified GdPicture image to a DIB object, known as Device Independent Bitmap (DIB), as an integer value. Please note that it is your responsibility to release the returned DIB object once you have no use for it.
Syntax
'Declaration
 
Public Function GetDibFromGdPictureImageI( _
   ByVal ImageID As Integer _
) As Integer
public int GetDibFromGdPictureImageI( 
   int ImageID
)
public function GetDibFromGdPictureImageI( 
    ImageID: Integer
): Integer; 
public function GetDibFromGdPictureImageI( 
   ImageID : int
) : int;
public: int GetDibFromGdPictureImageI( 
   int ImageID
) 
public:
int GetDibFromGdPictureImageI( 
   int ImageID
) 

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 integer value, containing the specified GdPictureImage data. The GdPictureImaging.GetStat method can be subsequently used to determine if this method has been successful.
Remarks
It is recommend to use the GdPictureImaging.GetStat method to identify the specific reason for the method's failure, if any.

Be aware that you need to release the resulting DIB object with the GdPictureImaging.ReleaseDib method after being used.

This method requires the Image Documents component to run.

See Also