Export Chart
Contents
[
Hide
]
Get Chart Image
Aspose.Slides for .NET provides support for extracting image of specific chart. Below sample example is given.
using (Presentation pres = new Presentation("test.pptx"))
{
IChart chart = pres.Slides[0].Shapes.AddChart(ChartType.ClusteredColumn, 50, 50, 600, 400);
Image img = chart.GetThumbnail();
img.Save("image.png", ImageFormat.Png);
}