ChartPrinting
Chart printing support
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.RadChart.dll
Syntax:
public class ChartPrinting
Inheritance: objectChartPrinting
Constructors
Creates printing support for the specified chart.
public ChartPrinting(RadChart chart)
Chart whose image is rendered for printing.
Properties
Gets or sets the print document. If none has been assigned, the getter creates a document with a handler that renders the chart.
[Browsable(false)]
public PrintDocument PrintDocument { get; set; }
Methods
Simply sends chart to default printer
public void PrintChart()
Prints the chart using the selected dialog option.
public void PrintChart(ChartPrintOptions dialogOptions)
Controls whether printing is direct or uses the print or print-preview dialog.
Prints chart
public void PrintChart(PrinterSettings printerSettings, PageSettings pageSettings, ChartPrintOptions options)
Specifies information about how a document is printed, including the printer that prints it.
pageSettingsPageSettingsSpecifies settings that apply to a single, printed page.
optionsChartPrintOptionsControls whether printing is direct or uses the print or print-preview dialog.
During page rendering, the chart is temporarily resized to fit within the page margins and then restored to its original size.
Shows the page setup dialog
public void ShowPageSetupDialog()