Dundas Chart for ASP.NET
Save(Stream,ChartImageFormat) Method
See Also  Send comments on this topic.
Dundas.Charting.WebControl Namespace > Chart Class > Save Method : Save(Stream,ChartImageFormat) Method


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.

Saves the chart image as an image stream, using a given image format.


Saves chart image into the stream.

Syntax

Visual Basic (Declaration)  
Public Overloads Sub Save( _
   ByVal imageStream As Stream, _
   ByVal format As ChartImageFormat _
) 
Visual Basic (Usage) Copy Code
Dim instance As Chart
Dim imageStream As Stream
Dim format As ChartImageFormat
 
instance.Save(imageStream, format)
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.

Remarks

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.

Requirements

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

See Also

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.