GdPicture.NET Reference Guide
GetDibFromGdPictureImage Method





GdPicture14 Namespace > GdPictureImaging Class : GetDibFromGdPictureImage Method
GdPicture Image Identifier. The GdPicture image to export as Dib.
Exports a GdPicture image as Dib (Device Independent Bitmap).
Syntax
'Declaration
 
Public Function GetDibFromGdPictureImage( _
   ByVal ImageID As Integer _
) As IntPtr
public IntPtr GetDibFromGdPictureImage( 
   int ImageID
)
public function GetDibFromGdPictureImage( 
    ImageID: Integer
): IntPtr; 
public function GetDibFromGdPictureImage( 
   ImageID : int
) : IntPtr;
public: IntPtr GetDibFromGdPictureImage( 
   int ImageID
) 
public:
IntPtr GetDibFromGdPictureImage( 
   int ImageID
) 

Parameters

ImageID
GdPicture Image Identifier. The GdPicture image to export as Dib.

Return Value

A new dib based on a GdPicture image.
Remarks
Use the GetStat() method to check if this method succeeded. Do not forget to release the dib with the ReleaseDib() method.
See Also

Reference

GdPictureImaging Class
GdPictureImaging Members
GetStat Method
ReleaseDib(Int32) Method