Font Item

The Font item represents a collection of fonts - objects of the Font class.

An instance of font collection configuration

Attributes of fonts collection item

Attribute name Type Description
Id String ID of font object.
Color String The font color can be used in the following formats:
  • "red";

  • "#000";

  • "RGB(123, 12, 1)".

Dictionary Object Items dictionary including the font.
FontFamily PP.Font.Family

Font family.

IsBold Boolean

Determines whether the drawing is bold:

  • True is bold

  • False is not bold.

IsCapitalized Boolean

Determines whether all the text characters are capitalized:

  • true - are capitalized.

  • False - are not capitalized.

IsInferior Boolean

Determines whether the text is subscripted:

  • True is bold

  • False is not bold.

IsItalic Boolean

Indicates whether the font is displayed in italic. Available values:

  • true: Italic.

  • False: Non-italic.

IsLowerCapitalized Boolean

Determines whether the small capitalized characters are used:

  • true - Is in use.

  • False are not used.

IsStriken Boolean

Determines whether the text is strikethrough:

  • True is superscripted.

  • False is not superscripted.

IsSuperior Boolean

Determines whether the text is superscripted:

  • True is underlined.

  • False is not underlined.

IsUnderline Boolean

Determines whether the text is underlined:

  • True is bold

  • False is not bold.

Size Number

Font size.

UseAutoColor Boolean

Determines whether the color is used by default:

  • True - black color is used, the Color attribute is not relevant.

  • False - the font color, specified in the Color attribute, is used.

See also:

ItemsDictionary item