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

DashboardExportOptions.ScaleMode Property

OBSOLETE

The DashboardExportOptions.ScaleMode property is obsolete now. Use the DashboardPdfExportOptions.ScaleMode property instead. To learn more, see the following KB article: https://www.devexpress.com/Support/Center/Question/Details/T488764

Gets or sets the mode for scaling when exporting a dashboard (dashboard item).

Namespace: DevExpress.DashboardWeb

Assembly: DevExpress.Dashboard.v19.1.Web.WebForms.dll

Declaration

[Obsolete("The DashboardExportOptions.ScaleMode property is obsolete now. Use the DashboardPdfExportOptions.ScaleMode property instead. To learn more, see the following KB article: https://www.devexpress.com/Support/Center/Question/Details/T488764")]
[DefaultValue(DashboardExportScaleMode.AutoFitWithinOnePage)]
public DashboardExportScaleMode ScaleMode { get; set; }

Property Value

Type Default Description
DashboardExportScaleMode **AutoFitWithinOnePage**

A DashboardExportScaleMode enumeration value that specifies the mode for scaling when exporting a dashboard (dashboard item).

Remarks

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

Scale Mode Related Property Description
DashboardExportScaleMode.AutoFitToPageWidth DashboardExportOptions.AutoFitPageCount Splits the dashboard into multiple pages, and aligns it.
DashboardExportScaleMode.UseScaleFactor DashboardExportOptions.ScaleFactor Scales the dashboard.
DashboardExportScaleMode.AutoFitWithinOnePage n/a Changes the dashboard size to fit its content on a single page.
DashboardExportScaleMode.None n/a The dashboard size is fixed, and other dashboard scaling settings are not in effect.
See Also