ChartToImage Method (String, Int64)

Creates the chart image and saves it to a file in the Jpeg format.

Namespace:  Aspose.Cells.Charts
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 20.9.0.0 (20.9)
Syntax
public void ToImage(
	string imageFile,
	long jpegQuality
)

Parameters

imageFile
Type: SystemString
The image file name with full path.
jpegQuality
Type: SystemInt64
Jpeg quality.
Remarks
If the width or height is zero or the chart is not supported according to Supported Charts List, this method will do nothing. Please refer to Supported Charts List for more details.
See Also