Home > BSPrinter documentation > Reference

PageNumbersPosition Property

Applies to: PrintPreview, IPrinterEx object

Type: BSPageNumbersPositionConstants


Description:

Returns or sets a value that determines the position of the page numbers.

The default setting is bsPosDefault.

Notes:

To set the distance of the page numbers from the bottom of the page or from the top of the page, use SetFooter and SetHeader methods with the DistanceFromEdge argument to the desired value. It is not necessary to set the other parameters.

If you want not to offer some of this position options to the user, you can hide one or more of them by setting the PageNumbersPositionFlags property.
If you want to prevent the user from changing the page number format at all, set the AllowUserChangePageNumbers property without the flag bsCPAllowChangeFormat.

See Also:

PageNumbersPositionFlags property
PageNumbersFont property
PageNumbersColor property
PageNumbersFormat property
PrintPageNumbers property
AllowUserChangePageNumbers property
SetFooter method
SetHeader method