Header and Footer
|Top Previous Next|
Usually header and footer can be edited after a click. But you can modify this behavior:
In property ViewOptionsEx2 this flags are supported:
In property EditOptionsEx2 this flags are supported:
wpDontEnterHeaderOnClick - do not enter the header on mouse click. On Cursor movement the body is selected instead!
wpDontEnterFooterOnClick - do not enter the footer on mouse click. On Cursor movement the body is selected instead!
It is important to note that if the PrintParameter.PrintHeaderFooter sub-property is set to wprNever, the headers and footers will not be displayed on screen either.
For better control this properties are also available: PrintHeaderLastPage, PrintHeaderFirstPage, PrintHeaderAllPages and the same for Footer.
Also, you can choose if the headers and footers will be displayed in grayed form by setting the wpDontGrayHeaderFooter sub-property of the ViewOptions property to false.
The header and footer can be printed in the top/bottom margin area or in the text area. It is up to you what you like better, both possibilities are used by standard word processors. This behavior is controlled by the sub-property PrintHeaderFooterInPageMargins in property HeaderHeader.
Please also see in chapter Header/Footer API.