Free Support Forum - aspose.com

IndexOutOfRangeException when inserting table html

when calling:

doc.Save(stream, SaveFormat.FormatAsposePdf);

I'm calling insertHtml with "

• Text
" earlier. Taking out the inserthtml lets it work.

I have tried to reproduce the error using Aspose.Words 4.0. I have opened the empty document, inserted the provided HTML excerpt and then saved the document to PDF. Everything went normally, no exception was raised.

So my recomendation is to use the latest version of Aspose.Words. If the error persists then please attach the template document into which you are inserting so that we could reproduce the error.

Best regards,