ComponentOne 3D Chart for WinForms
C1.Win.C1Chart3D.4.8 Assembly / C1.Win.C1Chart3D Namespace / C1Chart3D Class / GetImage Method / GetImage(Size) Method
Image size in pixels.

In This Topic
    GetImage(Size) Method
    In This Topic
    Obtains an image of the current chart using the specified size.
    Syntax
    'Declaration
     
    Public Overloads Shadows Function GetImage( _
       ByVal sz As System.Drawing.Size _
    ) As System.Drawing.Image
    public new System.Drawing.Image GetImage( 
       System.Drawing.Size sz
    )

    Parameters

    sz
    Image size in pixels.

    Return Value

    Chart image created by an enhanced metafile of the chart.
    Remarks
    This method creates an image of the current chart display an returns an Image object. If an error occurs during the file creation, chart drawing and writing, an appropriate exception is thrown indicating the cause of error.
    See Also