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

 

Syntax

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.

Remarks

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:

Examples

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(      
    MyHeaderFooterFonts
);

SysFreeString( MyHeaderFooterFonts ); 

 

 

Community Additions

ADD
Show:
© 2015 Microsoft