Szerkesztés

Megosztás a következőn keresztül:


Chart.SaveImage Method

Definition

Saves the chart image to a stream or a file.

Overloads

SaveImage(String, ChartImageFormat)

Saves a chart image to the file.

SaveImage(Stream, ChartImageFormat)

Saves the chart image to the specified stream.

SaveImage(Stream)

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

SaveImage(String)

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

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

The image file name.

format
ChartImageFormat

The chart image format.

Applies to

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

The image stream.

format
ChartImageFormat

The chart image format.

Applies to

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

The image stream.

Applies to

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

The image file name.

Applies to