Returns an indicator that shows the kind of grayscale palette, if any, that a bitmap has.
virtual L_INT LBitmapBase::IsGrayScale()
|GRAY_NO|| Not grayscale.|
|GRAY_ORDEREDNORMAL|| Normally ordered grayscale (dark to light).|
|GRAY_ORDEREDINVERSE|| Reverse ordered grayscale (light to dark).|
|GRAY_NOTORDERED|| Unordered grayscale.|
Grayscale images can be 1-bit, 4-bit, 8-bit, 12-bit or 16-bit. With a 1-bit image, you can use this function to check for inversion (for example, white lines on a black background) caused by an inverted palette.
Support for 12 and 16-bit grayscale images is only available in the Document/Medical toolkits.
For an example, refer to LBitmapBase::GrayScale.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries