Share via


header property

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

Syntax

JScript
bstrHeader = object.header

 

Property values

Type: String

the header formatting string specifying the information to be printed in the header on each page.

Remarks

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.