GetColorCount method (Main Control)

Visual Basic example
Visual C++ 4.0 example

Visual J++ example

Syntax long GetColorCount ();

Overview:  Refer to Examining and Altering Bitmaps.

Remarks

Returns the number of unique colors in the current bitmap.

See Also

Elements:  BitmapBits property, BitmapHeight property, BitmapWidth property, BitmapXRes property, BitmapYRes property

Topics:  Raster Images: Getting Current Information