Table of Contents

Class GdiFontInfo

Namespace
Alternet.Common
Assembly
Alternet.Common.v9.dll

Represents information about a particular Gdi font.

public class GdiFontInfo : FontInfo
Inheritance
GdiFontInfo

Constructors

GdiFontInfo(Font, IntPtr)

Initializes a new instance of the GdiFontInfo class with specified parameters.

GdiFontInfo(IntPtr, IntPtr, string)

Initializes a new instance of the GdiFontInfo class with specified parameters.

Properties

IsFontMonoSpace
UseDrawText

Indicates whether string width should be calculated using DrawText method rather then CharWidth.

Methods

CharWidth(char)

Calculates width of specified character using current Font.

GetCharWidth(char)
InitChartable()
OnUseDrawTextChanged()
StringWidth(string, bool)

Calculates width of specified string using current Font.