Chart.SaveImage Method (Stream)

.NET Framework 4.6 and 4.5

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

Namespace:  System.Web.UI.DataVisualization.Charting
Assembly:  System.Web.DataVisualization (in System.Web.DataVisualization.dll)

public void SaveImage(
	Stream imageStream
)

Parameters

imageStream
Type: System.IO.Stream

The image stream.

.NET Framework

Supported in: 4.6, 4.5, 4
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft