windowsforms-devexpress-dot-xtradiagram-dot-options-dot-diagramoptionsexport-e78c405b.md
Specifies whether to print content in the page margins.
Namespace : DevExpress.XtraDiagram.Options
Assembly : DevExpress.XtraDiagram.v25.2.dll
NuGet Package : DevExpress.Win.Diagram
[DefaultValue(PrintInMargins.Always)]
[DiagramCategory(DiagramCategory.Export)]
public virtual PrintInMargins PrintInMargins { get; set; }
<DefaultValue(PrintInMargins.Always)>
<DiagramCategory(DiagramCategory.Export)>
Public Overridable Property PrintInMargins As PrintInMargins
| Type | Default | Description |
|---|---|---|
| PrintInMargins | Always |
A DevExpress.Diagram.Core.PrintInMargins enumeration value.
|
Available values:
| Name | Description |
|---|---|
| Always |
Print content in the page margins.
| | Never |
Do not print content in the page margins.
| | OuterMarginsOnly |
Print content in the outer page margins only.
|
You can access this nested property as listed below:
| Object Type | Path to PrintInMargins |
|---|---|
| DiagramControl |
.OptionsExport .PrintInMargins
|
The table below illustrates the difference between the PrintInMargins modes:
|
PrintInMargins
|
Result
| | --- | --- | |
Always
|
| |
Never
|
| |
OuterMarginsOnly
|
|
The PageMargin property specifies the page margins.
See Also