GetColorCount method (ILEADRasterProcess)

Visual Basic example

Visual C++ 5.0 example

Delphi 4 example

C++ Builder example

 

Syntax

long GetColorCount (ILEADRaster *pRaster);

Overview

Refer to Examining and Altering Bitmaps.

Remarks

Returns the number of unique colors in the current bitmap.

This method supports 12 and 16-bit grayscale images. Support for 12 and 16-bit grayscale images is available only in the Document/Medical toolkits.

This method supports signed data images.

See Also

Elements:

BitmapBits property, BitmapHeight property, BitmapWidth property, BitmapXRes property, BitmapYRes property

Topics:

Raster Images: Getting Current Information