Skip to main content

DashboardPrintPreviewOptions.ChartSizeMode Property

Gets or sets the print size mode for the Chart dashboard item.

Namespace: DevExpress.DashboardCommon

Assembly: DevExpress.Dashboard.v24.1.Core.dll

NuGet Package: DevExpress.Dashboard.Core

Declaration

[DefaultValue(ChartExportSizeMode.Zoom)]
public ChartExportSizeMode ChartSizeMode { get; set; }

Property Value

Type Default Description
ChartExportSizeMode Zoom

A ChartExportSizeMode enumeration member that specifies the print size mode for the Chart dashboard item.

Available values:

Name Description
None

The Chart dashboard item is exported in a size identical to that shown on the dashboard.

Stretch

The Chart dashboard item is stretched or shrunk to fit the page to which it is exported.

Zoom

The Chart dashboard item is resized proportionally to best fit the exported page.

Property Paths

You can access this nested property as listed below:

Object Type Path to ChartSizeMode
BeforeExportDocumentEventArgs
.PrintPreviewOptions .ChartSizeMode
CustomExportBaseEventArgs
.PrintPreviewOptions .ChartSizeMode
DashboardDesigner
.PrintPreviewOptions .ChartSizeMode
DashboardViewer
.PrintPreviewOptions .ChartSizeMode
IDashboardControl
.PrintPreviewOptions .ChartSizeMode
DashboardControl
.PrintPreviewOptions .ChartSizeMode
See Also