Obtains an image of the current chart using the specified size.

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

Syntax

C#
public Image GetImage(
	Size sz
)
Visual Basic
Public Function GetImage ( _
	sz As Size _
) As Image

Parameters

sz
Type: System.Drawing..::..Size
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