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.v22.2.Core.dll

NuGet Packages: DevExpress.Printing.Core, DevExpress.Win.Dashboard.Design


public bool ShowMarginsWarning { get; set; }

Property Value

Type Default Description
Boolean true

true to show the margins warning dialog; otherwise false.


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


The following code snippets (auto-collected from DevExpress Examples) contain references to the ShowMarginsWarning property.


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