DashboardPrintingOptions.ScaleMode Property
OBSOLETE
The DashboardPrintingOptions.ScaleMode property is obsolete now. Use the DashboardPrintPreviewOptions.ScaleMode and DashboardPdfExportOptions.ScaleMode properties instead. To learn more, see the following breaking change: https://supportcenter.devexpress.com/ticket/details/bc4046/
Gets or sets the mode for scaling when printing a dashboard (dashboard item).
Namespace: DevExpress.DashboardWin
Assembly: DevExpress.Dashboard.v24.2.Win.dll
Declaration
[DefaultValue(DashboardPrintingScaleMode.AutoFitWithinOnePage)]
[Obsolete("The DashboardPrintingOptions.ScaleMode property is obsolete now. Use the DashboardPrintPreviewOptions.ScaleMode and DashboardPdfExportOptions.ScaleMode properties instead. To learn more, see the following breaking change: https://supportcenter.devexpress.com/ticket/details/bc4046/")]
public DashboardPrintingScaleMode ScaleMode { get; set; }
Property Value
Type | Default | Description |
---|---|---|
DashboardPrintingScaleMode | AutoFitWithinOnePage | A DashboardPrintingScaleMode enumeration value that specifies the mode for scaling when printing 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 printing options depending on the selected mode.
Scale Mode | Related Property | Description |
---|---|---|
DashboardPrintingScaleMode.AutoFitToPageWidth | DashboardPrintingOptions.AutoFitPageCount | Splits the dashboard into multiple pages and aligns it. |
DashboardPrintingScaleMode.UseScaleFactor | DashboardPrintingOptions.ScaleFactor | Scales the dashboard. |
DashboardPrintingScaleMode.AutoFitWithinOnePage | n/a | Changes the dashboard size to fit its content on a single page. |
DashboardPrintingScaleMode.None | n/a | The dashboard size is fixed, and other dashboard scaling settings are not in effect. |