Home > BSPrinter documentation > Reference

AllowUserChangeMargins Property

Applies to: PrintPreview, IPrinterEx object

Type: BSAllowUserChangeMarginsConstants


Description:

Returns or sets a value that determines whether the user will be able to change the margins from the Page Setup dialog box.

Possible values:
0 - bsCMNo: The user will not be able to change the margins. The controls for changing margins in the Page setup dialog box will be disabled.
1 - bsCMYes: The user will be able to change the margins. The controls for changing margins in the Page setup dialog box will be enabled.
2 - bsCMWhenHandlingMargins: The user will be able to change the margins if the HandleMargins property is set to True.

The default setting is bsCMWhenHandlingMargins.

See Also:

HandleMargins property
AllowUserChangeOrientation property
AllowUserChangePageNumbers property
AllowUserChangePaperSize property
AllowUserChangePrinter property
AllowUserChangeScale property
PageSetupButtonVisible property
MinLeftMargin, MinTopMargin, MinRightMargin, MinBottomMargin properties