Saves an chart image of the specified format and size to the specified stream.

Namespace:  C1.Win.C1Chart3D
Assembly:  C1.Win.C1Chart3D.2 (in C1.Win.C1Chart3D.2.dll)

Syntax

C#
public void SaveImage(
	Stream stream,
	ImageFormat imgFmt,
	Size sz
)
Visual Basic
Public Sub SaveImage ( _
	stream As Stream, _
	imgFmt As ImageFormat, _
	sz As Size _
)

Parameters

stream
Type: System.IO..::..Stream
Stream.
imgFmt
Type: System.Drawing.Imaging..::..ImageFormat
Image format.
sz
Type: System.Drawing..::..Size
Image size in pixels.

Remarks

This method creates an image of the specified format of the current chart display and saves the results to the specified stream. If an error occurs, an appropriate exception is thrown indicating the cause of error.

See Also