Saves the chart image to disk.
Saves chart image into the file.
Visual Basic (Declaration) | |
---|---|
Public Overloads Sub Save( _ ByVal imageFileName As String, _ ByVal format As ChartImageFormat _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public void Save( string imageFileName, ChartImageFormat format ) |
Parameters
- imageFileName
- The pathname of the image to be saved to disk.
Image file name - format
- The image format to be used when saving to disk.
Image format.
You can save all chart pictures to disk, regardless of the rendering type used.
The imageFileName argument must use a full pathname (e.g. c:\MyChart.svg). Note that you must also specify the file extension.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family