Chart.SaveImage Chart.SaveImage Chart.SaveImage Chart.SaveImage Method

Definition

Saves the chart image to a stream or a file.

Overloads

SaveImage(String, ChartImageFormat) SaveImage(String, ChartImageFormat) SaveImage(String, ChartImageFormat) SaveImage(String, ChartImageFormat)

Saves a chart image to the file.

SaveImage(Stream, ChartImageFormat) SaveImage(Stream, ChartImageFormat) SaveImage(Stream, ChartImageFormat) SaveImage(Stream, ChartImageFormat)

Saves the chart image to the specified stream.

SaveImage(Stream) SaveImage(Stream) SaveImage(Stream) SaveImage(Stream)

Saves the chart image to the specified stream. The properties ImageType, Compression and other Chart control properties are used.

SaveImage(String) SaveImage(String) SaveImage(String) SaveImage(String)

Saves the chart image to the specified file. The properties ImageType, Compression and other Chart control properties are used.

SaveImage(String, ChartImageFormat) SaveImage(String, ChartImageFormat) SaveImage(String, ChartImageFormat) SaveImage(String, ChartImageFormat)

Saves a chart image to the file.

public:
 void SaveImage(System::String ^ imageFileName, System::Web::UI::DataVisualization::Charting::ChartImageFormat format);
public void SaveImage (string imageFileName, System.Web.UI.DataVisualization.Charting.ChartImageFormat format);
member this.SaveImage : string * System.Web.UI.DataVisualization.Charting.ChartImageFormat -> unit
Public Sub SaveImage (imageFileName As String, format As ChartImageFormat)

Parameters

imageFileName
String String String String

The image file name.

SaveImage(Stream, ChartImageFormat) SaveImage(Stream, ChartImageFormat) SaveImage(Stream, ChartImageFormat) SaveImage(Stream, ChartImageFormat)

Saves the chart image to the specified stream.

public:
 void SaveImage(System::IO::Stream ^ imageStream, System::Web::UI::DataVisualization::Charting::ChartImageFormat format);
public void SaveImage (System.IO.Stream imageStream, System.Web.UI.DataVisualization.Charting.ChartImageFormat format);
member this.SaveImage : System.IO.Stream * System.Web.UI.DataVisualization.Charting.ChartImageFormat -> unit
Public Sub SaveImage (imageStream As Stream, format As ChartImageFormat)

Parameters

imageStream
Stream Stream Stream Stream

The image stream.

SaveImage(Stream) SaveImage(Stream) SaveImage(Stream) SaveImage(Stream)

Saves the chart image to the specified stream. The properties ImageType, Compression and other Chart control properties are used.

public:
 void SaveImage(System::IO::Stream ^ imageStream);
public void SaveImage (System.IO.Stream imageStream);
member this.SaveImage : System.IO.Stream -> unit
Public Sub SaveImage (imageStream As Stream)

Parameters

imageStream
Stream Stream Stream Stream

The image stream.

SaveImage(String) SaveImage(String) SaveImage(String) SaveImage(String)

Saves the chart image to the specified file. The properties ImageType, Compression and other Chart control properties are used.

public:
 void SaveImage(System::String ^ imageFileName);
public void SaveImage (string imageFileName);
member this.SaveImage : string -> unit
Public Sub SaveImage (imageFileName As String)

Parameters

imageFileName
String String String String

The image file name.

Applies to