Hello,
With updating Aspose.Slides for .NET to version 21.7.0 chart’s legend shortcut long text content in row and column headers and label’s title too
Screenshots
column header long text shortcut example case3.png (103.3 KB)
row long text title shortcut example case1.png (63.8 KB)
labels long text shortcut case case2.jpg (76.5 KB)
Presentations
row case Presentation1.zip (109.5 KB)
column case Presentation3.zip (141.8 KB)
label case Presentation2.zip (48.3 KB)
You can use attached presentations as example. Base code is
foreach (Slide slide in presentation.Slides)
{
var charts = slide.Shapes.Where(_ => _ is Chart chart).Select(_ => (Chart)_);
var i = 0;
foreach (var chart in charts)
{
using (var bmp = chart.GetThumbnail())
{
bmp.Save(string.Format(@"C:\temp\chart{0}.jpeg", i), System.Drawing.Imaging.ImageFormat.Jpeg);
i++;
}
}
}