Home > BSPrinter documentation > Reference

LeftMargin Property

Applies to: PrintPreview, IPrinterEx object

Type: Single


Returns or sets a value in millimeters or inches, depending of the setting of the MarginUnits property, that determines the left margin that will be set in new pages. When the current page is other than the last page, it returns the margin value of the current page.
The default setting is 25.4 mm or 1 inch.

Note: if you change margins while the PrepareReport event is executing, the user won't be allowed to change the margins from the dialogs. If you want to set default margins and allow the user to change them, do it before showing the dialog.

See Also:

TopMargin property
RightMargin property
BottomMargin property
LeftNonPrintableArea property
MinLeftMargin property
MarginUnits property