Glyphs.ColorFontPaletteIndex Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the index of the palette to use for the color font.
public:
property int ColorFontPaletteIndex { int get(); void set(int value); };
int ColorFontPaletteIndex();
void ColorFontPaletteIndex(int value);
public int ColorFontPaletteIndex { get; set; }
var int32 = glyphs.colorFontPaletteIndex;
glyphs.colorFontPaletteIndex = int32;
Public Property ColorFontPaletteIndex As Integer
Property Value
int
The index of the palette to use for the color font.
Remarks
If IsColorFontEnabled is false, the ColorFontPaletteIndex is ignored.
Color fonts can have different color palettes that specify the colors of the layers in the font. You can set the ColorFontPaletteIndex value to specify which palette to use. If the specified value isn't valid for the font, color is disabled.