IDWriteFont1::IsMonospacedFont method (dwrite_1.h)

Determines if the font is monospaced, that is, the characters are the same fixed-pitch width (non-proportional).

Syntax

BOOL IsMonospacedFont();

Return value

Type: BOOL

Returns true if the font is monospaced, else 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

IDWriteFont1