PrintChart Method (Int32, Int32, Int32, Boolean, PrinterSettings, PageSettings)
HierarchyTools PrintChart Method (Int32, Int32, Int32, Boolean, PrinterSettings, PageSettings)Chart4.NET - Organization Charting Component (C#/VB.NET/ASP.NET) - Documentation
Onlinewww.Chart4.NET (Documentation) | OnlineSamples Download | Release Notes

Print chart to the given printer with the given page settings.

Namespace: UnifoChart.Hierarchy
Assembly: 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: OnlineSystem Int32
Required width of the chart. Large charts will be displayed in multiple pages.
Height
Type: OnlineSystem Int32
Required height of the chart. Large charts will be displayed in multiple pages.
MultiPageMargin
Type: OnlineSystem Int32
When chart is extended to multiple pages, the chart overlapping required between page bounds. Default is 5.
ShowPrintPreview
Type: OnlineSystem Boolean
Show document to print in a print-preview screen. Click on print button to print the document.
PrinterSettings
Type: OnlineSystem.Drawing.Printing PrinterSettings
Printer/settings to print the document. If not given, print-selection dialog will be shown.
PageSettings
Type: OnlineSystem.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