Color

Property

Document.Color (read-write, Boolean)

Syntax

Document.Color [= boolean]

Remarks

If True, the image is tricolor. If False, it is monochrome.

The color depth of a document can be changed by modifying this property. When a monochrome image is converted to color, the red, green, and blue planes are all set equal to the original monochrome data, with the result that the final image appears outwardly unchanged; it is however now a tricolor image. When a color image is converted to monochrome, the red, blue, and green data for each pixel are averaged to compute the resultant monochrome plane; this has exactly the.same effect as performing the ConvertToMono method, except that it cannot be reversed by the Undo command.