IDWriteFontFace3::GetStretch method

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

Syntax


DWRITE_FONT_STRETCH GetStretch();

Parameters

This method has no parameters.

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

Minimum supported client

Windows 10 [desktop apps only]

Minimum supported server

Windows Server 2016 [desktop apps only]

Header

Dwrite_3.h

Library

Dwrite.lib

DLL

Dwrite.dll

See also

IDWriteFontFace3

 

 

Show: