Add Table to PDF via C++
Insert table to PDF document programmatically using Aspose.PDF for C++ Library
How to adding Tables in PDF document Using C++ Library
In order to add table in PDF, we’ll use Aspose.PDF for C++ API which is a feature-rich, powerful and easy to use document manipulation API for cpp platform. Open NuGet package manager, search for Aspose.PDF and install. You may also use the following command from the Package Manager Console.
Add Table to PDF via C++
You need Aspose.PDF for C++ 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 setting (e.g. set the borders).
- Populate table.
- Add the table to a page.
- Save the file.