Home > BSPrinter documentation > Reference

GetPageNumberPos Method

Applies to: PrintPreview, IPrinterEx object

  Return Type:     Single  
 
  Parameter(s):  
   In     Required     PosProperty     As     BSPositionPropertyConstants  


Description:

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