Hi Team,
I am reaching out to report an issue regarding converting a PowerPoint file containing a waterfall chart into HTML.
The thickness of the connecting lines of Bar in the waterfall chart is not reflecting properly in HTML as it was in the original PPTX file.
We are currently using Aspose.Slides.Net 23.9.0, .NET Framework 4.8, and Windows 11 Enterprise 64-bit OS.
Please refer to the attached “Issue.png” file for a visual representation of the matter.
Kindly note the yellow-highlighted section.
I would be grateful if you could investigate this issue and provide us a solution.
Please let me know if you require further information or clarification.
Note: Kindly change the path in sample code as per your need
Thanks,
private void GenerateHTML()
{
try
{
string path = @"C:\Workspace\Report\WaterfallChart.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:\Workspace\Report\Output.html", SaveFormat.Html, htmlOptions);
}
}
catch(Exception ex) { }
}
private void GeneratePPT()
{
try
{
string path = @"C:\Workspace\Report\WaterfallChart.pptx";
byte[] byteFile = System.IO.File.ReadAllBytes(path);
MemoryStream reportTemplateStream = new MemoryStream(byteFile);
using (Presentation presentation = new Presentation(reportTemplateStream))
{
presentation.Save(@"C:\Workspace\Report\Result.pptx", SaveFormat.Pptx);
}
}
catch(Exception ex) { }
}
All Files.zip (67.3 KB)
Issue.png (59.6 KB)