

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.HierarchyAssembly: 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 )
Parameters
- FilePath
- Type:
System String
Filename including the path of the file
- ExportFormat
- Type:
System.Drawing.Imaging ImageFormat
Image file format
- Width
- Type:
System Int32
Width of the resultant image
- Height
- Type:
System Int32
Height of the resultant image
Return Value
Returns null if FilePath is given, image object (Bitmap) otherwise.See Also