Home > BSPrinter documentation > Reference

RightMargin Property

Applies to: PrintPreview control , IPrinterEx object

Type: Single


Returns or sets a value in millimeters or inches, depending of the setting of the MarginUnits property, that determines the right 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:

LeftMargin property
TopMargin property
BottomMargin property
RightNonPrintableArea property
MinRightMargin property
MarginUnits property