Skip to main content

DashboardPrintPreviewOptions.PageLayout Property

Gets or sets the page orientation used to print a dashboard/dashboard item.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v24.2.Core.dll

Declaration

[DefaultValue(DashboardExportPageLayout.Portrait)]
public DashboardExportPageLayout PageLayout { get; set; }

Property Value

Type Default Description
DashboardExportPageLayout Portrait

A DashboardExportPageLayout enumeration value that specifies the page orientation used to print a dashboard/dashboard item.

Available values:

Name Description
Portrait

The page orientation used to export a dashboard/dashboard item is portrait.

Landscape

The page orientation used to export a dashboard/dashboard item is landscape.

Property Paths

You can access this nested property as listed below:

Object Type Path to PageLayout
BeforeExportDocumentEventArgs
.PrintPreviewOptions .PageLayout
CustomExportBaseEventArgs
.PrintPreviewOptions .PageLayout
DashboardDesigner
.PrintPreviewOptions .PageLayout
DashboardViewer
.PrintPreviewOptions .PageLayout
IDashboardControl
.PrintPreviewOptions .PageLayout
DashboardControl
.PrintPreviewOptions .PageLayout

Remarks

Note that specific dashboard items allow you to specify the page orientation as well. For instance, for the Chart dashboard item you can specify the DashboardPrintPreviewOptions.ChartAutomaticPageLayout property that can override the value specified using PageLayout.

See Also