Saves an chart image of the specified format to the specified byte array.

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

Syntax

C#
public void SaveImage(
	ref byte[] byteArray,
	ImageFormat imgFmt
)
Visual Basic
Public Sub SaveImage ( _
	ByRef byteArray As Byte(), _
	imgFmt As ImageFormat _
)

Parameters

byteArray
Type: array<System..::..Byte>[]()[][]%
Byte array.
imgFmt
Type: System.Drawing.Imaging..::..ImageFormat
Image format.

Remarks

This method creates an image of the specified format and the current display size and saves the results to the specified byte array. If an error occurs, an appropriate exception is thrown indicating the cause of error.

See Also