ALLText 4 supports the definition of Headers and Footers to be stored with the document. Headers and footers may be defined for the document as a whole, for even pages, for odd pages, or for the first page. To create a Header or footer set the appropriate HeaderFText or FooterFText property, Note that these are list properties.
These properties actually hold the Formatted text string corresponding to the header or footer. If you read in an RTF file with headers or footers, the headers and footers will NOT be shown in ALLText, but will be interpreted and stored by the HeaderFText and FooterFText properties. You can if you wish then add this text to secondary ALLText boxes.
Description: Sets or Returns the current page number of the document. Page numbering begins at 0.
Remarks: If text is not formatted using the printer device context (ALLText.PrinterDc = False) , ALLText assumes that the contents of the control occupy a single page with length equal to MAX_LONG. In this case, the value of the PageNumber property is always equal to zero.
Setting this property repositions the caret to the specified page number.
Description: Determines whether ALLText uses the Printer Device Context for formatting text on the screen. If this property is set to TRUE the hard copy output and the display will be the same (True WYSIWYG). If set to FALSE, ALLText uses the proper device context for the screen resulting in an enhanced on-screen presentation. (this may cause the on-screen word wrapping to be different from printed word wrapping.
Remarks: The following properties are affected by setting of the PrinterDC property.
Description: Contains document Footer that set by the user or read from document file.
Values: Set footer for the corresponding page ( Doc, Left pages, Right pages or First page)
Copyrightę 2003 Bennet-Tec Information Systems, Inc. All rights reserved.