Home > BSPrinter documentation > Reference

HandleMargins Property

Applies to: PrintPreview, IPrinterEx object

Type: Boolean


Returns or sets a value that determines whether the margins will be handled automatically by the component or not (they will be handled by the client program).

The default setting is True.

When HandleMargins is True, the Printer.ScaleWidth and Printer.ScaleHeight properties return the space within the margins.
Also, Printer.CurrentX and Printer.CurrentY start at the end of the Left and Top margins respectively.

See Also:

AllowUserChangeMargins property