GdPicture.NET Reference Guide
GetBitDepth Method (GdPictureImaging)





GdPicture14 Namespace > GdPictureImaging Class : GetBitDepth Method
GdPicture image identifier.
Returns the bit depth (Bits per Pixel) of a GdPicture image.
Syntax
'Declaration
 
Public Function GetBitDepth( _
   ByVal ImageID As Integer _
) As Integer
public int GetBitDepth( 
   int ImageID
)
public function GetBitDepth( 
    ImageID: Integer
): Integer; 
public function GetBitDepth( 
   ImageID : int
) : int;
public: int GetBitDepth( 
   int ImageID
) 
public:
int GetBitDepth( 
   int ImageID
) 

Parameters

ImageID
GdPicture image identifier.

Return Value

Can be: 1. For 1 bit per pixel image. 4. For 4 bits per pixel image. 8. For 8 bits per pixel image. 16. For 16 bits per pixel image. 24. For 24 bits per pixel image. 32. For 32 bits per pixel image. 48. For 48 bits per pixel image. 64. For 64 bits per pixel image.
See Also

Reference

GdPictureImaging Class
GdPictureImaging Members