New to Telerik UI for WinFormsStart a free 30-day trial

Chart printing support

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.RadChart.dll

Syntax:

C#
public class ChartPrinting

Inheritance: objectChartPrinting

Constructors

C#
public ChartPrinting(RadChart chart)
Parameters:chartRadChart

Properties

C#
[Browsable(false)]
public PrintDocument PrintDocument { get; set; }

Methods

Simply sends chart to default printer

C#
public void PrintChart()

Shows the printer dialog before print

C#
public void PrintChart(ChartPrintOptions dialogOptions)
Parameters:dialogOptionsChartPrintOptions

Prints chart

C#
public void PrintChart(PrinterSettings printerSettings, PageSettings pageSettings, ChartPrintOptions options)
Parameters:printerSettingsPrinterSettings

Specifies information about how a document is printed, including the printer that prints it.

pageSettingsPageSettings

Specifies settings that apply to a single, printed page.

optionsChartPrintOptions

Sets the printer select dialog

Shows the page setup dialog

C#
public void ShowPageSetupDialog()