A unique image identifier of the GdPicture image representing the image in use.





In This Topic
GdPicture14 Namespace / GdPictureImaging Class / HasGrayPalette256 Method

HasGrayPalette256 Method (GdPictureImaging)

In This Topic
Determines whether the specified GdPicture image represented by its unique image identifier has a standard 8-bit gray palette.
Syntax
'Declaration
 
Public Function HasGrayPalette256( _
   ByVal ImageID As Integer _
) As Boolean
public bool HasGrayPalette256( 
   int ImageID
)
public function HasGrayPalette256( 
    ImageID: Integer
): Boolean; 
public function HasGrayPalette256( 
   ImageID : int
) : boolean;
public: bool HasGrayPalette256( 
   int ImageID
) 
public:
bool HasGrayPalette256( 
   int ImageID
) 

Parameters

ImageID
A unique image identifier of the GdPicture image representing the image in use.

Return Value

true if the specified image is a standard 8-bit grayscale image, otherwise false. The GetStat method can be subsequently used to determine if this method has been successful.
Remarks
It is recommend to use the GetStat method to identify the specific reason for the method's failure, if any.

This method requires the Image Documents component to run.

See Also