IDWriteFontFace3::GetWeight method

Gets the weight of this font.

Syntax


DWRITE_FONT_WEIGHT GetWeight();

Parameters

This method has no parameters.

Return value

Type: DWRITE_FONT_WEIGHT

Returns a DWRITE_FONT_WEIGHT-typed value that specifies the density of a typeface, in terms of the lightness or heaviness of the strokes.

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: