IDWriteFontFace3::GetStretch method (dwrite_3.h)

Gets the stretch (also known as width) of this font.

Syntax

DWRITE_FONT_STRETCH GetStretch();

Return value

Type: DWRITE_FONT_STRETCH

Returns a DWRITE_FONT_STRETCH-typed value that specifies the degree to which a font has been stretched compared to a font's normal aspect ratio.

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