www.Chart4.NET | Samples
Assembly: UnifoChart.Hierarchy (in UnifoChart.Hierarchy.dll) Version: 2.6.0.0 (2.6)
Export the chart and save to a file, in the specified image format and size.
Namespace:
UnifoChart.HierarchyAssembly: UnifoChart.Hierarchy (in UnifoChart.Hierarchy.dll) Version: 2.6.0.0 (2.6)
Syntax
| C# |
|---|
public string ExportChartToImageFile( string FilePath, ImageFormat ExportFormat, int Width, int Height ) |
| Visual Basic (Declaration) |
|---|
Public Function ExportChartToImageFile ( _ FilePath As String, _ ExportFormat As ImageFormat, _ Width As Integer, _ Height As Integer _ ) As String |
| Visual Basic (Usage) |
|---|
Dim instance As HierarchyTools Dim FilePath As String Dim ExportFormat As ImageFormat Dim Width As Integer Dim Height As Integer Dim returnValue As String returnValue = instance.ExportChartToImageFile(FilePath, _ ExportFormat, Width, Height) |
| Visual C++ |
|---|
public: String^ ExportChartToImageFile( String^ FilePath, ImageFormat^ ExportFormat, int Width, int Height ) |
| J# |
|---|
public String ExportChartToImageFile( String FilePath, ImageFormat ExportFormat, int Width, int Height ) |
| JScript |
|---|
public function ExportChartToImageFile( FilePath : String, ExportFormat : ImageFormat, Width : int, Height : int ) : String |
| JavaScript |
|---|
function ExportChartToImageFile(FilePath, ExportFormat, Width, 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
