Home > BSPrinter documentation > Reference

GetPageNumberPos Method

Applies to: PrintPreview control , IPrinterEx object

Return Type: Single
In          Required          PosProperty          As BSPositionPropertyConstants


Returns the position of the page number in the current page.

The parameter PosProperty must specify if the left, top, width or height is required.

If the page does not print the page number, it returns -1.

See Also:

GetFooterPos method
GetHeaderPos method