IHeaderFooter::htmlHead Property

Retrieves the HTML representation of the header, as specified by the header formatting string entered in the IHeaderFooter::textHead property of the HeaderFooter behavior.

Syntax


HRESULT IHeaderFooter::get_htmlHead(BSTR *p);

Parameters

p
Pointer to a variable of type BSTR that receives the HTML representation of the specified header.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

Use this string to add a header to the pages ( DeviceRect) in a print template.

See Also

TemplatePrinter
Show: