Control Reference > VSPrinter Control > VSPrinter Properties > HdrColor Property |
Returns or sets the color used to print headers and footers.
[form!]VSPrinter.HdrColor[ = colorref& ]
By default, the same color is used for headers and footers.
If you want to use distinct colors for the headers and footers of a document, you should trap the BeforeHeader, BeforeFooter, AfterHeader, and AfterFooter events to set and restore the HdrColor property accordingly.
The font used to draw the headers and footers is set with the HdrColor property.
To set the color used to draw regular text, use the TextColor property.
Color