WiX Toolset

Font Element (Thmutil Extension)

Description
Defines a font including the size and color.
Windows Installer references
None
Parents
Theme
Inner Text (xs:string)
Name of the font face.
Children
None
Attributes
Name Type Description Required
Background HexBinary 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 value is absent the background will be transparent.  
Foreground HexBinary 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 value is absent the foreground will be transparent.  
Height Int Font size. Use negative numbers to specify the font in pixels.  
Id NonNegativeInteger Numeric identifier for the font. Due to limitations in thmutil the first Font must start with "0" and each subsequent Font must increment the Id by 1. Failure to ensure the Font identifiers follow this strict ordering will create unexpected behavior or crashes.  
Underline YesNoType Specifies whether the font is underlined.  
Weight NonNegativeInteger Font weight.  
See Also
Thmutil Schema