Skip to content

Font element (Thmutil extension)

Defines a font including the size and color.

Attributes

Background

FontColorType

A system color id or a hexadecimal value representing BGR background color of the font. “ffffff” is white, “ff0000” is pure blue, “00ff00” is pure green, “0000ff” is pure red, and “000000” is black. If this attribute is absent the background will be transparent. Supported system color ids are: btnface, btntext, graytext, highlight, highlighttext, hotlight, window, and windowtext.

Foreground

FontColorType

A system color id or a hexadecimal value representing BGR foreground color of the font. “ffffff” is white, “ff0000” is pure blue, “00ff00” is pure green, “0000ff” is pure red, and “000000” is black. If this attribute is absent the foreground will be transparent. Supported system color ids are: btnface, btntext, graytext, highlight, highlighttext, hotlight, window, and windowtext.

Height

integer required

Font size. Use negative numbers to specify the font in pixels.

Id

string required

Identifier for the font.

Underline

yesno

Specifies whether the font is underlined.

Weight

non-negative integer

Font weight.

Parents