Skip to main content

PrintingSystemBase.ShowMarginsWarning Property

Gets or sets a value which specifies whether an error message is shown when the page margins are set outside the printable area.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v24.2.Core.dll

Declaration

[DefaultValue(true)]
public bool ShowMarginsWarning { get; set; }

Property Value

Type Default Description
Boolean true

true to show the margins warning dialog; otherwise false.

Remarks

Use this property to enable the dialog showing the “One or more margins are set outside the printable area of the page” warning.

ShowMarginsWarning

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShowMarginsWarning property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also