Skip to main content

DashboardPdfExportOptions.PageLayout Property

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

Namespace: DevExpress.DashboardCommon

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

NuGet Package: DevExpress.Dashboard.Core

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 export 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
.PdfExportOptions .PageLayout
CustomExportBaseEventArgs
.PdfExportOptions .PageLayout
ASPxDashboard
.PdfExportOptions .PageLayout
BeforeExportDocumentWebEventArgs
.PdfExportOptions .PageLayout
CustomExportBaseWebEventArgs
.PdfExportOptions .PageLayout
DashboardExtensionSettings
.PdfExportOptions .PageLayout
DashboardDesigner
.PdfExportOptions .PageLayout
DashboardViewer
.PdfExportOptions .PageLayout
IDashboardControl
.PdfExportOptions .PageLayout
DashboardControl
.PdfExportOptions .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 DashboardPdfExportOptions.ChartAutomaticPageLayout property that can override the value specified using PageLayout.

See Also