Saves the chart image as an image stream, using a given image format.
Saves chart image into the stream.
Visual Basic (Declaration) | |
---|---|
Public Overloads Sub Save( _ ByVal imageStream As Stream, _ ByVal format As ChartImageFormat _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public void Save( Stream imageStream, ChartImageFormat format ) |
Parameters
- imageStream
- The image stream used to save the chart image.
Image stream. - format
- The image format to be used when saving to disk.
The format to be used for the saved chart image. Uses the .NET ImageFormat enumeration.
Image format.
Use this method if you would like to save the image to a stream (e.g. memorystream, filestream, etc.) and need to specify the format to save.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family