ComponentOne VSView 8.0
Footer Property

Returns or sets the footer text.

Syntax

[form!]VSPrinter.Footer[ = value As String ]

Remarks

The Footer is composed of three sections, separated by pipe characters ("|"). The first section is left-justified, the second is centered, and the third is right-justified.

You may include a page number field by embedding a "%d" code in the string. If you want to show a percent sign in the footer, double it in the Footer property (for example, "50%% Progress Report, Page %d").

For example, the following footer would print the file name and page number on the left and right corners of every page:

vp.Footer = vp.DocName & "||Page %d"

You may create multi-line footers by embedding line-feed characters within the Footer string. For example:

vp.Footer = "Document:" & vbLf & vp.DocName & "||Page" & vbLf & "%d"

The color and font used to print the footer are defined by the HdrFont and HdrColor properties. The position of the footer is defined by the MarginFooter property.

If you want to use different fonts or colors for headers and footers, trap the BeforeFooter and AfterFooter events to make that changes you want.

Data Type

String

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback