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

Print chart after selecting the printer and page type.

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
)
public String PrintChart(
	int Width,
	int Height,
	int MultiPageMargin,
	boolean ShowPrintPreview
)

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.

Return Value

Returns blank if succeeded, error message otherwise.
See Also