Table of Contents

Class FontInfo

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

Represents information about a particular font.

public class FontInfo
Inheritance
FontInfo
Derived

Constructors

FontInfo(Font, IntPtr)

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

FontInfo(IntPtr, IntPtr, string)

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

Properties

DC
Font

Gets or sets font of this FontInfo.

FontHeight

Represents height of the font.

FontName

Represents name of the font.

FontWidth

Represents width of the font.

HFont

Represents handle to the Font.

IsMonoSpaced

Represents a value indicating whether font is monospaced, meaning that all characters drawn with this font have the same width.

Methods

Clear()

Frees all resources associated with this FontInfo.

~FontInfo()

Destroys the instance of the FontInfo class.