Saves an chart image of the specified format to the specified stream.
Namespace:
C1.Win.C1Chart3DAssembly: C1.Win.C1Chart3D.2 (in C1.Win.C1Chart3D.2.dll)
Syntax
C# |
---|
public void SaveImage( Stream stream, ImageFormat imgFmt ) |
Visual Basic |
---|
Public Sub SaveImage ( _ stream As Stream, _ imgFmt As ImageFormat _ ) |
Parameters
- stream
- Type: System.IO..::..Stream
Stream.
- imgFmt
- Type: System.Drawing.Imaging..::..ImageFormat
Image format
Remarks
This method creates an image of the specified format of the current chart display and saves the results
to the specified stream. The size of the current display, in pixels, is used.
If an error occurs, an appropriate exception is thrown indicating the cause of error.