Table of Contents

Property IsFixedWidth

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

IsFixedWidth

Gets whether this font is a fixed width (or monospaced) font.

[Browsable(false)]
public virtual bool IsFixedWidth { get; }

Property Value

bool

Returns true if the font is a fixed width (or monospaced) font, false if it is a proportional one or font is invalid.

Remarks

Note that this function under some platforms is different from just testing for the font family being equal to Monospace because native platform-specific functions are used for the check (resulting in a more accurate return value).