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

Free Support Forum - aspose.com

Replace Table with DataTable

I am testing the PDF .Net Library and trying to replace a table with a datatable in an existing pdf document and the table is not removing. I am using the sample code in the examples…

        absorber.Replace(pdfDocument.Pages[2], absTable, table);

Are there any working examples to download on how to replace a table?

@Jnelson999

Thank you for contacting support.

You may visit below documentation article or run the code from Examples project of Aspose.PDF for .NET API. In case the problem persists, please share narrowed down sample application so that we may try to reproduce and investigate it in our environment.

Replace old Table with new one in PDF document

I downloaded your example project and I am debugging the ReplaceTable.cs file. It does not work and throws an exception. Can you provide me a working example to replace a table?

Jason

@Jnelson999

Thank you for the details.

We have updated examples project and the exception does not occur anymore. However, the table is not replaced fine. A ticket with ID PDFNET-46013 has been logged in our issue management system for further investigations. The ticket ID has been linked with this thread so that you will receive notification as soon as the ticket is resolved.

We are sorry for the inconvenience.