Dundas Chart for ASP.NET
Save(String,ChartImageFormat) Method
See Also  Send comments on this topic.
Dundas.Charting.WebControl Namespace > Chart Class > Save Method : Save(String,ChartImageFormat) Method


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.

Saves the chart image to disk.


Saves chart image into the file.

Syntax

Visual Basic (Declaration)  
Public Overloads Sub Save( _
   ByVal imageFileName As String, _
   ByVal format As ChartImageFormat _
) 
Visual Basic (Usage) Copy Code
Dim instance As Chart
Dim imageFileName As String
Dim format As ChartImageFormat
 
instance.Save(imageFileName, format)
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.

Remarks

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.

Requirements

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

See Also

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.