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 |
This is a read/write property.
Syntax
printing.headerFooterFont = sFontSpec
Example
factory.printing.headerFooterFont = "font-family: Comic Sans MS; font-size: 10px; color: rgb(0,128,0); font-weight: bold;"