Hi Aspose Team,
I am using Aspose Slides for .NET version 22.11.0. I am trying to export pptx into responsive Html.
While doing this my chart Data labels are converted to Callouts.
Note: Please have a look on the yellow highlighted section in attached “Issue.png” file.
OS Version: Windows 10 Enterprise 64-bit
.NET Framework version: 4.8
Please also find attached pptx file.
public void ExportToHTML()
{
try
{
string path = @"C:\Users\admin\Report.pptx";
byte[] byteFile = System.IO.File.ReadAllBytes(path);
MemoryStream reportTemplateStream = new MemoryStream(byteFile);
using (Presentation presentation = new Presentation(reportTemplateStream))
{
ResponsiveHtmlController controller = new ResponsiveHtmlController();
HtmlOptions htmlOptions = new HtmlOptions { HtmlFormatter =
HtmlFormatter.CreateCustomFormatter(controller) };
presentation.Save(@"C:\Users\admin\Output.html", SaveFormat.Html, htmlOptions);
}
}
catch (Exception ex) { }
}
Note: Kindly change the path in sample code as per your need
Issue.PNG (22.0 KB)
Report.zip (31.0 KB)