Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.2.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
.OptionsView .PageSize

#Remarks

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

See Also