Spire.Presentation is a professional PowerPoint® compatible library that enables developers to create, read, write, modify, convert and Print PowerPoint documents from any .NET(C#, VB.NET, ASP.NET, .NET Core) application and Java (J2SE and J2EE) application.

Wed Sep 09, 2020 6:05 pm

Converting a .ppt file to HTML throws the error "Index was outside the bounds of the array"

Code :
Code: Select all
using (Presentation ppt = new Presentation())
{
    ppt.LoadFromFile(absolute-file-path);
    ppt.SaveToFile(absolute-destination-path + ".html", Spire.Presentation.FileFormat.Html);
}

delwyn.pinto
 
Posts: 5
Joined: Wed Sep 09, 2020 1:19 pm

Thu Sep 10, 2020 4:25 am

Hello,

Thanks for using our products.
To ensure a timely and accurate response, please provide us with your .ppt file that could reproduce your issue. You could upload it here or send it to us (support@e-iceblue.com) via email. Thanks in advance.

Sincerely,
Rachel
E-iceblue support team
User avatar

rachel.lei
 
Posts: 1573
Joined: Tue Jul 09, 2019 2:22 am

Return to Spire.Presentation