GrayColorCount property (ILEADRasterProcess)

Visual Basic example

Visual C++ example

 

Syntax

short GrayColorCount

Overview

Refer to Grayscale Images

Remarks

(Raster Pro and above toolkits.) Gets or sets the number of entries in the GrayColorRed, GrayColorGreen, and GrayColorBlue properties. It can be any number as long as it corresponds to the size of the above mentioned properties. 1 means there is one entry, 2 means there is two entries. If you set it to 0 then the ColorizeGray method will return an error code.

See Also

Elements:

ColorizeGray, GrayColorRed, GrayColorGreen property, GrayColorBlue, GrayColorThreshold property

Topics:

Raster Image Functions: Doing Color Expansion or Reduction