ComponentOne 3D Chart for WinForms
C1.Win.C1Chart3D.4.5.2 Assembly / C1.Win.C1Chart3D Namespace / C1Chart3D Class / SaveImage Method / SaveImage(Stream,ImageFormat,Size) Method
Stream.
Image format.
Image size in pixels.

In This Topic
    SaveImage(Stream,ImageFormat,Size) Method
    In This Topic
    Saves an chart image of the specified format and size to the specified stream.
    Syntax
    'Declaration
     
    Public Overloads Sub SaveImage( _
       ByVal stream As System.IO.Stream, _
       ByVal imgFmt As System.Drawing.Imaging.ImageFormat, _
       ByVal sz As System.Drawing.Size _
    ) 
    public void SaveImage( 
       System.IO.Stream stream,
       System.Drawing.Imaging.ImageFormat imgFmt,
       System.Drawing.Size sz
    )

    Parameters

    stream
    Stream.
    imgFmt
    Image format.
    sz
    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