TSRichViewEdit supports headers and footers, but implementation is different in the latest beta version and in older versions.
In older versions, header is stored in TSRichViewEdit.RVHeader, footer is stored in TSRichViewEdit.RVFooter. The same header and footer are displayes for all pages. They can be shown/hidden using TSRichViewEdit.PageProperty.HeaderVisible/FooterVisible.
The latest beta version (which will be released as TRichView 15 and ScaleRichView 6) supports special headers for the first page and odd/even pages. Headers are stored in TSRichViewEdit.SubDocuments[].
Special headers and footers for the first page are shown if TSRichViewEdit.PageProperty.TitlePage = True.
Special headers and footers for even pages are shown if TSRichViewEdit.PageProperty.FacingPages = True.
TSRichViewEdit.PageProperty.HeaderVisible/FooterVisible can show/hide all kinds of headers/footers.
RVHeader and RVFooter properties still exist: these are editors that contain headers/footers when they are being edited.
Besides, the new versions of the components support page number and page count fields that can be inserted in headers and footers.
how to put background image at runtime?
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
-
- Site Admin
- Posts: 17557
- Joined: Sat Aug 27, 2005 10:28 am
- Contact: