HEADER Attribute | header Property

Sets or retrieves the header formatting string from the Page Setup dialog box.


XML <ELEMENT HEADER = sHeader... >
Scripting [ sHeader = ] TEMPLATEPRINTER.header [ = sHeader ]

Possible Values

sHeader String that specifies or receives the header formatting string specifying the information to be printed in the header on each page.

The property is read/write. The property has no default value.


This property is typically used to set the textHead property of a HeaderFooter behavior located on the same page. When you set the textHead property, the HeaderFooter behavior will generate formatted HTML as specified by the header formatting string. The HTML can be retrieved from the htmlHead property of the HeaderFooter behavior for use on the pages ( DeviceRects) in the print template.

Applies To


Community Additions

© 2014 Microsoft