Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ChartPrintOptions.SizeMode Property

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

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v24.2.dll

NuGet Package: DevExpress.Wpf.Charts

#Declaration

public PrintSizeMode SizeMode { get; set; }

#Property Value

Type Description
PrintSizeMode

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

Available values:

Name Description
None

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

Stretch

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

NonProportionalZoom

A chart is resized non-proportionally, so that it scales in the horizontal or the vertical directions independently.

ProportionalZoom

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 Type Path to SizeMode
ChartControlBase
.PrintOptions .SizeMode

#Remarks

To see the print preview result on screen, use the ChartControlBase.ShowPrintPreview methods.

See Also