IDWriteFontFace2::GetColorPaletteCount method

Gets the number of color palettes defined by the font.

Syntax


UINT32 GetColorPaletteCount();

Parameters

This method has no parameters.

Return value

The return value is zero if the font has no color information. Color fonts are required to define at least one palette, with palette index zero reserved as the default palette.

Requirements

Minimum supported client

Windows 8.1 [desktop apps only]

Minimum supported server

Windows Server 2012 R2 [desktop apps only]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Header

Dwrite_2.h

Library

Dwrite.lib

DLL

Dwrite.dll

See also

IDWriteFontFace2

 

 

Show: