Back to Devexpress

ChartControl.ShowPrintPreview(PrintSizeMode) Method

windowsforms-devexpress-dot-xtracharts-dot-chartcontrol-dot-showprintpreview-x28-devexpress-dot-xtracharts-dot-printing-dot-printsizemode-x29.md

latest2.5 KB
Original Source

ChartControl.ShowPrintPreview(PrintSizeMode) Method

OBSOLETE

This method is obsolete now. Please, use the ChartControl.OptionsPrint.SizeMode property along with the ShowPrintPreview method without any parameters instead.

Invokes the Print Preview Form, which shows the print preview of the chart using the specified zoom settings.

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.UI.dll

NuGet Package : DevExpress.Win.Charts

Declaration

csharp
[Browsable(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("This method is obsolete now. Please, use the ChartControl.OptionsPrint.SizeMode property along with the ShowPrintPreview method without any parameters instead.")]
public void ShowPrintPreview(
    PrintSizeMode sizeMode
)
vb
<Obsolete("This method is obsolete now. Please, use the ChartControl.OptionsPrint.SizeMode property along with the ShowPrintPreview method without any parameters instead.")>
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
Public Sub ShowPrintPreview(
    sizeMode As PrintSizeMode
)

Parameters

NameTypeDescription
sizeModePrintSizeMode

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

|

Remarks

This method is now obsolete. Use the ChartControl.OptionsPrint.SizeMode property along with the ChartControl.ShowPrintPreview method without any parameters, instead.

See Also

IsPrintingAvailable

Print

ChartControl Class

ChartControl Members

DevExpress.XtraCharts Namespace