Back to Devexpress

LinkBase.MinMargins Property

corelibraries-devexpress-dot-xtraprinting-dot-linkbase-b95e5f77.md

latest3.2 KB
Original Source

LinkBase.MinMargins Property

Specifies the minimum printer margin values.

Namespace : DevExpress.XtraPrinting

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

NuGet Package : DevExpress.Printing.Core

Declaration

csharp
public DXMargins MinMargins { get; set; }
vb
Public Property MinMargins As DXMargins

Property Value

Type
DXMargins

Remarks

The content specified via the LinkBase.CreateMarginalHeaderArea and LinkBase.CreateMarginalFooterArea methods is shifted by the values of the Top and Bottom properties, respectively.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the MinMargins 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.

winforms-dashboard-print-and-export-visual-representation-as-is/CS/DashboardExport/CustomDashboardExporter.cs#L33

csharp
componentLink.Margins = new System.Drawing.Printing.Margins(20, 20, 20, 20);
componentLink.MinMargins = new System.Drawing.Printing.Margins(0, 0, 0, 0);
ps.PreviewFormEx.StartPosition = FormStartPosition.CenterScreen;

winforms-dashboard-print-and-export-visual-representation-as-is/VB/DashboardExport/CustomDashboardExporter.vb#L33

vb
componentLink.Margins = New System.Drawing.Printing.Margins(20, 20, 20, 20)
componentLink.MinMargins = New System.Drawing.Printing.Margins(0, 0, 0, 0)
ps.PreviewFormEx.StartPosition = FormStartPosition.CenterScreen

See Also

Margins

LinkBase Class

LinkBase Members

DevExpress.XtraPrinting Namespace