Description

Used to report or force a viewer mode that is optimized for 256 color systems, such as laptops.

Property type

A Boolean value.  

Syntax

object.UseIndexPalette [= value]

The UseIndexPalette Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McDisplay.
valueA Boolean value.

Remarks

When the viewer starts, it determines the display capabilities of the primary monitor. If that monitor is only capable of displaying 256 colors, this property is set to true, and the viewer undergoes special processing in order to present the best possible image for viewing. Basically, image is internally converted into an 8-bit indexed palette DIB and a palette is chosen for best display.

A few systems may incorrectly indicate thier color capabilities and so the viewer may need to be forced into a desired mode.

Because the special mode involves some additional processing, the user may desire performance more than best possible display. This is accomplished by setting this property to FALSE.