DashboardPdfExportOptions.DocumentScaleMode Property

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

Namespace: DevExpress.DashboardWeb.Scripts

Assembly: DevExpress.Dashboard.v18.1.Web.WebForms.Scripts.dll

Syntax

public string DocumentScaleMode { get; set; }

Returns

Type Description
String

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

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.