| Header+Footer Category |
Description
WPTools 5 has an exceptionally strong support for header and footer texts. Header and footer texts are displayed and edited WYSIWYG. It is possible to have images, even floating images in header and footer texts which makes it easy to create a watermark. If you use the event OnGetSpecialText the header and footer can be different for each page of the document. Otherwise it is still possible to have different header and footer texts, but RTF only supports the differentiation between the first, odd and even pages.
When you use sections you can also created different header and footer for this sections.
| Classes |
| TWPRTFDataBlock | This is one item in the RTF Data collection (WPRichText.HeaderFooter). It contains the body text, header and footer texts, or, with WPTools Premium the texts of footnotes or text boxes. |
| Properties |
| TWPRTFBlobContents.AsString | Change the text of a header or footer text. |
| TWPCustomRtfEdit.ActiveText | |
| TWPCustomRtfEdit.HeaderFooter | |
| TWPCustomRtfEdit.LayoutMode | The central property to change the way the engine displays the pages. |
| TWPPreview.LayoutMode | The central property to change the way the engine displays the pages. |
| TWPRichText.LayoutMode | The central property to change the way the engine displays the pages. |
| Methods |
| TWPRTFDataCollection.Get | This function finds and if necessary appends a new RTF data block, such as a header or footer text. |
| TWPCustomRtfEdit.AssignToFooter | |
| TWPCustomRtfEdit.AssignToHeader | |
| TWPCustomRtfEdit.Clear | |
| TWPCustomRtfEdit.ClearBody | |
| TWPCustomRtfEdit.ClearHeaderFooter |
|
Copyright (C) by WP |