www.Chart4.NET (Documentation) | Samples Download | Release Notes
Assembly: UnifoChart.Hierarchy (in UnifoChart.Hierarchy.dll) Version: 5.1.0.0 (5.1.0)
Print chart to the given printer with the given page settings.
Namespace: UnifoChart.HierarchyAssembly: UnifoChart.Hierarchy (in UnifoChart.Hierarchy.dll) Version: 5.1.0.0 (5.1.0)
Syntax
public string PrintChart( int Width, int Height, int MultiPageMargin, bool ShowPrintPreview, PrinterSettings PrinterSettings, PageSettings PageSettings )
public String PrintChart( int Width, int Height, int MultiPageMargin, boolean ShowPrintPreview, PrinterSettings PrinterSettings, PageSettings PageSettings )
Parameters
- Width
- Type: System Int32
Required width of the chart. Large charts will be displayed in multiple pages.
- Height
- Type: System Int32
Required height of the chart. Large charts will be displayed in multiple pages.
- MultiPageMargin
- Type: System Int32
When chart is extended to multiple pages, the chart overlapping required between page bounds. Default is 5.
- ShowPrintPreview
- Type: System Boolean
Show document to print in a print-preview screen. Click on print button to print the document.
- PrinterSettings
- Type: System.Drawing.Printing PrinterSettings
Printer/settings to print the document. If not given, print-selection dialog will be shown.
- PageSettings
- Type: System.Drawing.Printing PageSettings
Page settings for the document. If not given, page-setup dialog will be shown.
Return Value
Returns blank if succeeded, error message otherwise.See Also