共用方式為


header property

Gets or sets the header formatting string from the Page Setup Dialog Box.

Syntax

HRESULT value = object.put_header(BSTR bstrHeader);HRESULT value = object.get_header(BSTR* bstrHeader);

Property values

Type: BSTR

A pointer to a BSTR that receives the header formatting string that specifies the information to be printed in the header on each page.