Manage Tables in PDF using Java
Add, Extract, Delete Tables in PDF document. Use Aspose.PDF for Java to modify PDF files programmatically
Most popular action with Tables via Java
How to manage Tables in PDF document using Aspose.PDF for Java library
In order to work with table, we’ll use Aspose.PDF for Java API which is a feature-rich, powerful and easy to use conversion API for Java platform. You can download its latest version directly from Maven and install it within your Maven-based project by adding the following configurations to the pom.xml.
Add Table to PDF using Java
You need Aspose.PDF for Java to try the code in your environment.
- Load the PDF with an instance of Document.
- Access the Page via its index.
- Create Table object.
- Set table settings (e.g. set the borders).
- Populate table.
- Add the table to a page.
- Save the file.