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.v24.1.dll
NuGet Package: DevExpress.Win.Diagram
Declaration
[DefaultValue(typeof(SizeF), "1056,816")]
[DiagramCategory(DiagramCategory.Layout)]
public virtual SizeF PageSize { get; set; }
Property Value
Type | Default | Description |
---|---|---|
SizeF | "1056,816" | The page size. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to PageSize |
---|---|
DiagramControl |
|
Remarks
The DiagramOptionsView.PaperKind property allows you to use one of the standard paper sizes as the page size.
See Also