|Top Previous Next|
Assigns a page footer.
(introduced in version 1.7; modified in version 15)
RVData – document to display as a footer of the type specified in HFType; the document is not copied to RVPrint, so do not modify and do not destroy it until printing is completed. If RVData is nil, a footer of this type is not displayed.
HFType – footer type (normal/for the first page/for even pages).
This method must be called before FormatPages.
Using different footers
A footer for the first page is used only if TitlePage=True, otherwise it is ignored, and a normal footer is displayed on the first page.
A special footer for even pages is used only if FacingPages=True, otherwise it is ignored, and a normal footer is used on both odd and even pages.
rvMain, rvFooter: TRichView;
RVPrint1.TitlePage := True;
RVPrint1.SetFooter(nil, rvhftFirstPage); // hiding footer on the first page
See also properties:
TRichView © trichview.com