Description
Selects a casting option for the image when converting to an Indexed palette.
-
Property type
-
A mcCastingPaletteMethod enumeration.
-
Syntax
-
object.PaletteCastingMethod [= value]
The PaletteCastingMethod Property syntax has these parts: Settings The settings for value are:
 | mcpmMatchPalette | 0 |
Translate RGB to fit palette (default)
|
 | mcpmStraightCopy | 1 |
Do straight copy - do not pass data thru palette
|
Exceptions
E_POINTER implies the argument pointer is invalid. E_INVALIDARG indicates the client is attempting to set the property to an invalid value.
|