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

Definition

Saves the image to the specified target.

Overloads

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

Saves the chart image to the specified file.

SaveImage(String, ImageFormat) SaveImage(String, ImageFormat) SaveImage(String, ImageFormat) SaveImage(String, ImageFormat)

Saves an image to the specified file.

SaveImage(Stream, ImageFormat) SaveImage(Stream, ImageFormat) SaveImage(Stream, ImageFormat) SaveImage(Stream, ImageFormat)

Saves the image to the specified stream.

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

Saves the chart image to the specified stream.

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

Saves the chart image to the specified file.

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

Parameters

imageFileName
String String String String

The name of the file in which image is saved to.

SaveImage(String, ImageFormat) SaveImage(String, ImageFormat) SaveImage(String, ImageFormat) SaveImage(String, ImageFormat)

Saves an image to the specified file.

public:
 void SaveImage(System::String ^ imageFileName, System::Drawing::Imaging::ImageFormat ^ format);
public void SaveImage (string imageFileName, System.Drawing.Imaging.ImageFormat format);
member this.SaveImage : string * System.Drawing.Imaging.ImageFormat -> unit
Public Sub SaveImage (imageFileName As String, format As ImageFormat)

Parameters

imageFileName
String String String String

The name of the file in which image is saved to.

format
ImageFormat ImageFormat ImageFormat ImageFormat

The image format.

SaveImage(Stream, ImageFormat) SaveImage(Stream, ImageFormat) SaveImage(Stream, ImageFormat) SaveImage(Stream, ImageFormat)

Saves the image to the specified stream.

public:
 void SaveImage(System::IO::Stream ^ imageStream, System::Drawing::Imaging::ImageFormat ^ format);
public void SaveImage (System.IO.Stream imageStream, System.Drawing.Imaging.ImageFormat format);
member this.SaveImage : System.IO.Stream * System.Drawing.Imaging.ImageFormat -> unit
Public Sub SaveImage (imageStream As Stream, format As ImageFormat)

Parameters

imageStream
Stream Stream Stream Stream

The stream in which the image is saved to.

format
ImageFormat ImageFormat ImageFormat ImageFormat

The image format.

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::Windows::Forms::DataVisualization::Charting::ChartImageFormat format);
public void SaveImage (System.IO.Stream imageStream, System.Windows.Forms.DataVisualization.Charting.ChartImageFormat format);
member this.SaveImage : System.IO.Stream * System.Windows.Forms.DataVisualization.Charting.ChartImageFormat -> unit
Public Sub SaveImage (imageStream As Stream, format As ChartImageFormat)

Parameters

imageStream
Stream Stream Stream Stream

The stream in which the image is saved to.

Applies to