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

Export the chart and save to a file, in the specified image format and size. If FilePath given is empty, the image object (Bitmap) is returned, ignoring the ExportFormat, else returns a null.

Namespace: UnifoChart.Hierarchy
Assembly: UnifoChart.Hierarchy (in UnifoChart.Hierarchy.dll) Version: 5.1.0.0 (5.1.0)
Syntax

public Bitmap ExportChartToImageFile(
	string FilePath,
	ImageFormat ExportFormat,
	int Width,
	int Height
)
public Bitmap ExportChartToImageFile(
	String FilePath,
	ImageFormat ExportFormat,
	int Width,
	int Height
)

Return Value

Returns null if FilePath is given, image object (Bitmap) otherwise.
See Also