Chart.SaveImage Method (Stream)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
Available since 4.0
Return to top
Show: