PPCC Namespace
Saves the chart area to the specified file in the specified image format
Namespace:
PPCC.ChartAssembly: Chart (in Chart.dll)
Version: 5.1.2859.14274
Syntax
| C# |
|---|
public void SaveToBitmap( string FilePath, ImageFormat Format ) |
| Visual Basic (Declaration) |
|---|
Public Sub SaveToBitmap ( _ FilePath As String, _ Format As ImageFormat _ ) |
| Visual C++ |
|---|
public: void SaveToBitmap( String^ FilePath, ImageFormat^ Format ) |
Parameters
- FilePath
- Type: System..::.String
Fully qualified path in which to save the image
- Format
- Type: System.Drawing.Imaging..::.ImageFormat
Image format to save to
Examples
This example shows how to save the chart area to a bitmap
CopyC#
Copy
private void SaveChartToImage() { chart1.SaveToBitmap(@"\My Documents\Chart1.bmp", System.Drawing.Imaging.ImageFormat.Bmp); }
Private Sub SaveChartToImage() Chart1.SaveToBitmap(@"\My Documents\Chart1.bmp", System.Drawing.Imaging.ImageFormat.Bmp) End Sub