Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

headerFooterFont property

Sets or retrieves a combination of strings that define font properties of the header and footer.

Internet Explorer 8



HRESULT value = object.put_headerFooterFont(BSTR bstrFooter);HRESULT value = object.get_headerFooterFont(BSTR* bstrFooter);

Property values

Type: BSTR

font properties of the header and footer.


The property values in bstrFooter are delimited by semicolons. A minimum of two properties are required: "font-family" and "font-size".

May contain any combination of these CSS Attributes: Color and Background and CSS Attributes: Font and Text property values:


The following example modifies the font used to print the header and footer.

BSTR    MyHeaderFooterFonts = SysAllocString( 
        L"font-family:courier new; font-size:12px; "
        L"font-style:italic; color:red; font-weight:bold" );

HRESULT hr = pTP3->put_headerFooterFont(      

SysFreeString( MyHeaderFooterFonts ); 



Community Additions

© 2015 Microsoft