Foxit PDF SDK
|
Public Member Functions | |
synchronized void | delete () |
Clean up related resources immediately. More... | |
![]() | |
synchronized void | delete () |
Clean up related resources immediately. More... | |
Static Public Member Functions | |
static boolean | addTableToPage (PDFPage page, TableData data, TableCellDataArray cell_array) throws com.foxit.sdk.PDFException |
Add a table to the PDF page. More... | |
This class is used to insert tables to PDF document. Before using any class or methods in this module, please ensure Foxit PDF SDK has been initialized successfully by function common.Library.initialize with a key including "TableMaker" module.
|
static |
Add a table to the PDF page.
[in] | page | A valid PDF page object. |
[in] | data | The object of TableData . Please make sure that the product of TableData.getRow_count and TableData.getCol_count in data is the same as the number of cell_array, otherwise an exception will be thrown. Please make sure that the TableData.getRect in data is not empty and is in the page box of the current page, otherwise an exception will be thrown. |
[in] | cell_array | This is a two-dimensional array, an array of TableCellDataColArray objects. Exception com.foxit.sdk.common.Constants.e_ErrUnsupported will be thrown if the text and image are in the same cell. |
synchronized void com.foxit.sdk.addon.tablegenerator.TableGenerator.delete | ( | ) |
Clean up related resources immediately.