ChartToImage Method

Gets a 32-bit Bitmap object of the chart.

Namespace:  Aspose.Cells.Charts
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: (22.5.0)
public Bitmap ToImage()

Return Value

Type: Bitmap
the picture of the chart.
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