Skip to main content

DashboardExportOptions.ScaleMode Property

OBSOLETE

The DashboardExportOptions.ScaleMode property is obsolete now. Use the DashboardPdfExportOptions.ScaleMode property instead. To learn more, see the following breaking change: https://supportcenter.devexpress.com/ticket/details/t986338/

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

Namespace: DevExpress.DashboardWeb

Assembly: DevExpress.Dashboard.v24.2.Web.WebForms.dll

NuGet Package: DevExpress.Web.Dashboard

#Declaration

[DefaultValue(DashboardExportScaleMode.AutoFitWithinOnePage)]
[Obsolete("The DashboardExportOptions.ScaleMode property is obsolete now. Use the DashboardPdfExportOptions.ScaleMode property instead. To learn more, see the following breaking change: https://supportcenter.devexpress.com/ticket/details/t986338/")]
public DashboardExportScaleMode ScaleMode { get; set; }

#Property Value

Type Default Description
DashboardExportScaleMode AutoFitWithinOnePage

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

Available values:

Name Description
None

The dashboard (dashboard item) on the exported page retains its original size.

UseScaleFactor

The size of the dashboard (dashboard item) on the exported page is changed according to the scale factor value.

AutoFitToPageWidth

The size of the dashboard (dashboard item) is changed according to the width of the exported page.

AutoFitWithinOnePage

The size of the dashboard (dashboard item) is changed to fit its content on a single page.

See Also