Remove Tables from PDF via C#
Delete tables from PDF document using Aspose.PDF for .NET Library
How to deleting Tables from PDF document Using .NET Library
In order to delete table, we’ll use Aspose.PDF for .NET API which is a feature-rich, powerful and easy to use document manipulation API for net platform. Open NuGet package manager, search for Aspose.PDF and install. You may also use the following command from the Package Manager Console.
Delete Tables from PDF via C#
You need Aspose.PDF for .NET to try the code in your environment.
- Load the PDF with an instance of Document.
- Create TableAbsorber object to find tables.
- Visit first page with absorber.
- Get first table on the page.
- Remove the table. Save the file.