Table of Contents

Interface IFontHandler

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

Contains methods and properties which allow to work with font.

public interface IFontHandler : IDisposable

Properties

Description

Gets a description string that represents the font.

Name

Gets name of the font.

SizeInPoints

Gets the em-size, in points, of the font.

Methods

Equals(Font)

Indicates whether font is equal to another font.

GetEncoding()

Gets font encoding.

GetItalic()

Gets a value that indicates whether font is italic.

GetNumericWeight()

Gets font weight.

GetPixelSize()

Gets font size in pixels.

GetStrikethrough()

Gets a value that indicates whether font is strikethrough.

GetUnderlined()

Gets a value that indicates whether font is underlined.

GetWeight()

Gets font weight.

IsFixedWidth()

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

IsUsingSizeInPixels()

Gets whether font is using size in pixels.

Serialize()

Gets font as serialized string.

Update(FontParams)

Updates font properties.