We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How do I modify a table that was loaded using XmlLoadOptions?

I am trying to modify a table programatically after loading it from XML, however it seems that the Page.Paragraphs collection is empty after loading the XML.

Am I doing something wrong?


<?xml version="1.0" encoding="utf-8" ?>


var newPdf = new Document(xmlString, new XmlLoadOptions());
newPdf.Pages[1].Paragraphs[1].IsInNewPage = true; // Throws index out of bounds exception

Hi Josh,

Thanks for your inquiry. We have managed to notice your reported issue and logged an enhancement ticket PDFNEWNET-38500 in our issue tracking system for further investigation and resolution to support working with individual objects in new generator. We will notify you as soon as it is resolved.

We are sorry for the inconvenience caused.

Best Regards,

The issues you have found earlier (filed as PDFNEWNET-38500) have been fixed in Aspose.Pdf for .NET 10.6.0.

This message was posted using Notification2Forum from Downloads module by Aspose Notifier.