Saves an chart image of the specified format and size to the specified file.
Namespace:
C1.Win.C1Chart3DAssembly: C1.Win.C1Chart3D.2 (in C1.Win.C1Chart3D.2.dll)
Syntax
C# |
---|
public void SaveImage( string filename, ImageFormat imgFmt, Size sz ) |
Visual Basic |
---|
Public Sub SaveImage ( _ filename As String, _ imgFmt As ImageFormat, _ sz As Size _ ) |
Parameters
- filename
- Type: System..::..String
File name.
- 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 and size and saves the results
to the specified file. If an error occurs, an appropriate exception is thrown indicating the cause of error.