PageXofY Field (Object)

Member of:

Fields collection

Description:

Sets the current page of the total number of pages.

Example:

This example shows how to add a green, two point, dash style to the PageXofY field (Object):

ActiveDocument.Sections["Sales Report"].PageFooter.Fields["PageXofY Field"].Line.DashStyle = 4
ActiveDocument.Sections["Sales Report"].PageFooter.Fields["PageXofY Field"].Line.Color = bqGreen
ActiveDocument.Sections["Sales Report"].PageFooter.Fields["PageXofY Field"].Line.Width = 2

Methods:

Layer(BqLayer value), Spring(String Name), UnSpring()

Properties:

Read-write: Formula as String, HorizontalAlignment as BqHorizontalAlignment (Number), Text as String, TextWrap as Boolean, VerticalAlignment as BqVerticalAlignment (Number)

Read-only: Name as String, Type as BqShapeType (Number)

Objects:

UserValues, LineFormat, FillFormat, Font