Skip to main content
A newer version of this page is available. .

DashboardPdfExportOptions.DocumentScaleMode Property

Gets or sets the mode for scaling a dashboard/dashboard item in the exported document.

Namespace: DevExpress.DashboardCommon

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

NuGet Packages: DevExpress.Dashboard.Core, DevExpress.WindowsDesktop.Dashboard.Core

Declaration

[DefaultValue(DashboardExportDocumentScaleMode.None)]
public DashboardExportDocumentScaleMode DocumentScaleMode { get; set; }

Property Value

Type Default Description
DashboardExportDocumentScaleMode **None**

A DashboardExportDocumentScaleMode enumeration value that specifies the mode for scaling a dashboard/dashboard item in the exported document.

Property Paths

You can access this nested property as listed below:

Show 15 property paths

Remarks

To change the size of the dashboard or split it into several pages, specify the DocumentScaleMode property. Then specify the following export options depending on the selected mode.

Scale Mode Related Property Description
DashboardExportDocumentScaleMode.AutoFitToPagesWidth DashboardPdfExportOptions.AutoFitPageCount Splits the dashboard into multiple pages, and aligns it.
DashboardExportDocumentScaleMode.UseScaleFactor DashboardPdfExportOptions.ScaleFactor Scales the dashboard.
DashboardExportDocumentScaleMode.None n/a The dashboard size is fixed, and other dashboard scaling settings are not in effect.
See Also