IDWriteFontFace1::IsMonospacedFont method (dwrite_1.h)

Determines whether the font of a text range is monospaced, that is, the font characters are the same fixed-pitch width.

Syntax

BOOL IsMonospacedFont();

Return value

Type: BOOL

Returns TRUE if the font is monospaced, otherwise it returns FALSE.

Requirements

Requirement Value
Minimum supported client Windows 8 and Platform Update for Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | UWP apps]
Target Platform Windows
Header dwrite_1.h
Library Dwrite_1.lib
DLL Dwrite_1.dll

See also

IDWriteFont::IsSymbolFont

IDWriteFontFace1

IDWriteFontFace::IsSymbolFont