DashboardPrintPreviewOptions.ScaleMode Property
OBSOLETE
The Dashboard
Gets or sets the mode for scaling a dashboard/dashboard item in the printed document.
Namespace: DevExpress.DashboardCommon
Assembly: DevExpress.Dashboard.v24.2.Core.dll
NuGet Package: DevExpress.Dashboard.Core
#Declaration
[Browsable(false)]
[Obsolete("The DashboardPrintPreviewOptions.ScaleMode property is obsolete now. Use the DocumentScaleMode and DashboardAutomaticPageLayout properties instead.")]
public DashboardExportScaleMode ScaleMode { get; set; }
#Property Value
Type | Description |
---|---|
Dashboard |
A Dashboard |
Available values:
Name | Description |
---|---|
None | The dashboard/dashboard item on the exported page retains its original size. |
Use |
The size of the dashboard/dashboard item on the exported page is changed according to the scale factor value. |
Auto |
The size of the dashboard/dashboard item is changed according to the width of the exported page. |
Auto |
The size of the dashboard/dashboard item is changed to fit its content on a single page. |
#Property Paths
You can access this nested property as listed below:
Object Type | Path to Scale |
---|---|
Before |
|
Custom |
|
Dashboard |
|
Dashboard |
|
IDashboard |
|
Dashboard |
|
#Remarks
To change the size of the dashboard or split it into several pages, specify the ScaleMode property. Then specify the following printing options depending on the selected mode.
Scale Mode | Related Property | Description |
---|---|---|
Dashboard |
Dashboard |
Splits the dashboard into multiple pages and aligns it. |
Dashboard |
Dashboard |
Scales the dashboard. |
Dashboard |
n/a | Changes the dashboard size to fit its content on a single page. |
Dashboard |
n/a | The dashboard size is fixed, and other dashboard scaling settings are not in effect. |