headerFooterFont
Description
From version 6.5.439, ScriptX supports retrieving and specifying the font used to render the document header and footer. The use of this feature requires Internet Explorer 8 or later.
Specifies or retrieves the description of the font to use. The font is described using a css style definition, one or more of the following semicolon-delimited values:
| Value |
Description |
| font-family |
The font family name to use. |
| font-size |
The size to use, units should be pixels. |
| color |
The colour for rendering the text, given as an RGB value - for example, rgb(255,0,0) |
| font-weight |
The weight of the font as normal or bold |
| font-style |
The font style, as italic, normal, or oblique |
Note: No error is thrown if this property is used with versions of Internet Explorer prior to 8 - settings are simply ignored.
Syntax
printing.headerFooterFont = sFontSpec
Settings
This a read-write property.
Applies To
printing
Example
factory.printing.headerFooterFont = "font-family: Comic Sans MS; font-size: 10px; color: rgb(0,128,0); font-weight: bold;"
See Also
header, footer