qbd software ltd [UK]
qprinter > moth > qbd software
qPrinter² qcDocument: Properties and Methods
Applies To:
qcDocument
 
See Also:
SetFooter
FooterCopy
Footer
SetHeaderContent
 

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
PageTypeThe type of page to create. Standard, First, Odd, Even or Last.
TextThe text for the Footer.
FontNameThe Font family to use for the footer.
FontSizeThe Font size to use for the Footer.
FontBoldBold style.
FontItalicItalic style.
FontUnderlineUnderline style.
FontColorForeground colour.
AlignAlignment: Left, Centre, Right or Full justification.
IndentLeftThe distance from the Left margin to indent the item.
IndentRightThe distance from the Right margin to indent the item.
WidthThe 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

©2002 qbd software ltd