IHeaderFooter::textFoot Property

Sets or retrieves the control string used by the HeaderFooter behavior to generate HTML for the footer.


HRESULT IHeaderFooter::get_textFoot(BSTR *p);HRESULT IHeaderFooter::put_textFoot(BSTR v);


Pointer to a variable of type BSTR that receives the control string used to generate HTML.
BSTR that specifies the control string used to generate HTML.

Return Value

Returns S_OK if successful, or an error value otherwise.


The memory returned in p can be freed with SysFreeString.

Typically, a print template sets this property using the footer property of a TemplatePrinter behavior located on the same page. When this property is set, the HeaderFooter behavior will generate HTML for the footer. This HTML can be retrieved from the IHeaderFooter::htmlFoot property of the HeaderFooter behavior and inserted in the pages ( DeviceRects) of the print template.

You can specify any valid character sequence in the Windows Internet Explorer  Page Setup dialog box, located on the File menu. See the main HeaderFooter reference page or Internet Explorer Help for a list of the formatting codes.

See Also