Back to Devexpress

ChartOptionsPrint.SizeMode Property

corelibraries-devexpress-dot-xtracharts-dot-printing-dot-chartoptionsprint.md

latest2.2 KB
Original Source

ChartOptionsPrint.SizeMode Property

Gets or sets a value which specifies the size mode used to print the chart.

Namespace : DevExpress.XtraCharts.Printing

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
public PrintSizeMode SizeMode { get; set; }
vb
Public Property SizeMode As PrintSizeMode

Property Value

TypeDescription
PrintSizeMode

A PrintSizeMode enumeration value which specifies the size mode used to print the chart.

|

Available values:

NameDescription
None

A chart is printed with its size identical to that shown on the form.

| | Stretch |

A chart is stretched or shrunk to fit the page on which it is printed.

| | Zoom |

A chart is resized proportionally (without clipping), so that it best fits the page on which it is printed.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to SizeMode
ChartControl

.OptionsPrint .SizeMode

|

Remarks

You can print the chart in either the same size displayed on the form, or enlarge/reduce it to fit the page, with or without clipping.

Use the ChartControl.ShowPrintPreview to see the result on-screen.

See Also

Print

ChartOptionsPrint Class

ChartOptionsPrint Members

DevExpress.XtraCharts.Printing Namespace