GdPicture image identifier.





In This Topic

GetBits Method (GdPictureImaging)

In This Topic
Returns a pointer to the data-bits of a GdPicture image. It is up to you to interpret these bytes correctly, according to the results of GetBitDepth() and GetStride() methods.
Syntax
'Declaration
 
Public Function GetBits( _
   ByVal ImageID As Integer _
) As IntPtr
public IntPtr GetBits( 
   int ImageID
)
public function GetBits( 
    ImageID: Integer
): IntPtr; 
public function GetBits( 
   ImageID : int
) : IntPtr;
public: IntPtr GetBits( 
   int ImageID
) 
public:
IntPtr GetBits( 
   int ImageID
) 

Parameters

ImageID
GdPicture image identifier.

Return Value

If success, non 0: A pointer to the data-bits of the bitmap. If fail, 0: Use the GetStat() method to determine the reason this method failed.
See Also