htmlHead property
Retrieves the HTML representation of the header, as specified by the header formatting string entered in the textHead property of the HeaderFooter behavior.
Syntax
HRESULT value = object.get_htmlHead(BSTR* p);
Property values
Type: BSTR
the HTML representation of the specified header.
Remarks
Use this string to add a header to the pages (DeviceRect) in a print template.