|
|
SetFooterContent
Method to simplify creating a formatted Footer for the specified PageType.
Syntax Object.SetFooterContent (PageType As qeHeadFootShowEnum, Text As String, FontName As String, FontSize As Single, FontBold As Boolean , FontItalic As Boolean , FontUnderline As Boolean , FontColor As Long , Align As qePrinterAlign , IndentLeft As Single , IndentRight As Single , Width As Single )
| Parameters | | PageType | The type of page to create. Standard, First, Odd, Even or Last. | | Text | The text for the Footer. | | FontName | The Font family to use for the footer. | | FontSize | The Font size to use for the Footer. | | FontBold | Bold style. | | FontItalic | Italic style. | | FontUnderline | Underline style. | | FontColor | Foreground colour. | | Align | Alignment: Left, Centre, Right or Full justification. | | IndentLeft | The distance from the Left margin to indent the item. | | IndentRight | The distance from the Right margin to indent the item. | | Width | The width of the item - used in conjunction with IndentLeft and IndentRight. |
Notes The example would create a Header for use on all pages that displays the Application Name and the Title 'Document 1' in the centre using a Bold Arial 10pt font.
Example qPrint.Document.SetFooterContent FirstPage_hf, "Page 1", "Arial", 8, True, , , , eCentre
qPrint.Document.SetFooter(FirstPage_hf) = True
See Also: SetFooter, FooterCopy, Footer, SetHeaderContent
|