ChartToImage Method

Gets a 32-bit Bitmap object of the chart.

Namespace:  Aspose.Cells.Charts
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 20.9.0.0 (20.9)
Syntax
public Bitmap ToImage()

Return Value

Type: Bitmap
the picture of the chart.
Remarks
If the width or height is zero or the chart is not supported according to Supported Charts List, it will return null. Please refer to Supported Charts List for more details.
See Also