Back to Devexpress

DiagramOptionsView.PageSize Property

windowsforms-devexpress-dot-xtradiagram-dot-options-dot-diagramoptionsview-f9b9b2ca.md

latest2.1 KB
Original Source

DiagramOptionsView.PageSize Property

Gets or sets the initial diagram canvas size. This property also specifies to what extent the canvas is expanded/shrunk in auto-size mode (see DiagramOptionsView.CanvasSizeMode).

Namespace : DevExpress.XtraDiagram.Options

Assembly : DevExpress.XtraDiagram.v25.2.dll

NuGet Package : DevExpress.Win.Diagram

Declaration

csharp
[DefaultValue(typeof(SizeF), "1056,816")]
[DiagramCategory(DiagramCategory.Layout)]
public virtual SizeF PageSize { get; set; }
vb
<DefaultValue(GetType(SizeF), "1056,816")>
<DiagramCategory(DiagramCategory.Layout)>
Public Overridable Property PageSize As SizeF

Property Value

TypeDefaultDescription
SizeF"1056,816"

The page size.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to PageSize
DiagramControl

.OptionsView .PageSize

|

Remarks

The DiagramOptionsView.PaperKind property allows you to use one of the standard paper sizes as the page size.

See Also

CanvasSizeMode

DiagramOptionsView Class

DiagramOptionsView Members

DevExpress.XtraDiagram.Options Namespace