IDWriteFontFace3::GetStyle method (dwrite_3.h)

Gets the style (also known as slope) of this font.

Syntax

DWRITE_FONT_STYLE GetStyle();

Return value

Type: DWRITE_FONT_STYLE

Returns a DWRITE_FONT_STYLE-typed value that specifies the style of the font.

Requirements

Requirement Value
Minimum supported client Windows 10 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Target Platform Windows
Header dwrite_3.h
Library Dwrite.lib
DLL Dwrite.dll

See also

IDWriteFontFace3