class FontBuilder

Parents

object

Brief

The class for configuring font settings.

Static Public Methods

New

Creates a new instance of FontBuilder.

NoFont

Creates an invisible font object.

Public Properties

Bold

Indicates whether the font style is bold.

Color

The font color.

EncodingName

The character encoding.

Italic

Indicates whether the font style is italic.

Name

The font name.

Oblique

Indicates whether the font style is oblique.

Path

The path to the font file.

Size

The font size.

Strikethrough

The strikethrough stroke style.

StrikethroughColor

The strikethrough color.

Underline

The underline stroke style.

UnderlineColor

The underline color.

Public Methods

FromFile

Loads a font of a specified size from a TTF or AFM font file.

SetBold

Sets the font style to bold.

SetColor

Sets the font color.

SetEncodingName

Sets the character encoding for the font.

SetItalic

Sets the font style to italic.

SetName

Sets the font name.

SetOblique

Sets the font style to oblique.

SetPath

Sets the path to the file with the font.

SetSize

Sets the font size.

SetStrikethrough

Sets the font style to strikethrough.

SetStrikethrough

Sets the strikethrough color and stroke style for the font.

SetStrikethroughColor

Sets the strikethrough color for the font.

SetStrikethroughStroke

Sets the strikethrough stroke style for the font.

SetUnderline

Sets the font style to underline.

SetUnderline

Sets the underline color and stroke style for the font.

SetUnderlineColor

Sets the underline color for the font.

SetUnderlineStroke

Sets the underline stroke style for the font.

With

Sets the font name and size.

back