Home > BSPrinter documentation > Reference

GetHeaderPos Method

Applies to: PrintPreview, IPrinterEx object

  Return Type:     Single  
   In     Required     PosProperty     As     BSPositionPropertyConstants  


Returns the position of the header in the current page.

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

If the page does not have a header, it returns -1.

See Also:

GetFooterPos method
GetPageNumberPos method
SetHeader method