ChartToImage Method (Stream, Int64)

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

Namespace:  Aspose.Cells.Charts
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 21.6.0.0 (21.6)
Syntax
public void ToImage(
	Stream stream,
	long jpegQuality
)

Parameters

stream
Type: System.IOStream
The output stream.
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