You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > Standalone Functions > IsGrayscale Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.IsGrayscale Method

Returns True if a GdPicture image or the area defined by SetROI() function is Gray.

C#
public Boolean IsGrayscale(
    int ImageID
);
Visual Basic
Public Function IsGrayscale(
    ByVal ImageID As Integer
) As Boolean
Parameters
Parameters 
Description 
ImageID 
GdPicture Image Identifier.  
Returns

True if it is a grayscale image, else False.

Use the GetStat() function to check if this function has completed successfully.

What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.