Chart.SaveImage Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기