(using version 7.3.1.0)
Hi,
I can't figure out how to toggle rounded corners on a chart area. Can you please assist?
In Powerpoint 2010 the setting is found at Format Chart Area/Border Styles/Rounded corners.
Code to create a chart where the red background has rounded corners:
PresentationEx pres = new PresentationEx();
SlideEx sld = pres.Slides[0];
ChartEx chart = sld.Shapes.AddChart(ChartTypeEx.ClusteredColumn, 20, 20, 500, 500);
chart.ChartFormat.Fill.FillType = FillTypeEx.Solid;
chart.ChartFormat.Fill.SolidFillColor.Color = Color.Red;
pres.Write(@"D:\Test.pptx");
On a side note: What I would really like to have is a document where Powerpoint features are mapped to namespaces and classes in Aspose Slides. Something like:
PPT | Aspose Slides |
---|---|
Format Chart Area/Fill type | ChartEx/ChartFormat/Fill/FillType |
Format Chart Area/Border styles/Rounded corners | not supported (?) |
Is this something you could consider? It would save me lots of time.