Home > BSPrinter documentation > Reference

GetHeaderPos Method


Applies to: PrintPreview control , IPrinterEx object


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


Description:

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