Description

Used by the pixel buffer to support getting the length color map (palette) of an image (see comments in ColorMap). Returns 0 (zero) if the color map has not been set, or if the image is not an indexed color image.

Property type

A Long value.  

[out, retval]

Syntax

object.ColorMapLength

The ColorMapLength Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McImageType.

Exceptions

E_POINTER implies the argument pointer is invalid.