CreateTable
Page layout
Description
Creates a table with the specified number of rows and columns. Use the other table functions to set up the table and then use DrawTableRows to draw the table onto the page.
Syntax
Delphi
function TPDFlib.CreateTable(RowCount, ColumnCount: Integer): Integer;ActiveX
Function PDFlib::CreateTable(RowCount As Long, ColumnCount As Long) As LongDLL
int DLCreateTable(int InstanceID, int RowCount, int ColumnCount);Parameters
| RowCount | The number of rows that the new table should have |
|---|---|
| ColumnCount | The number of columns that the new table should have. |
Return values
| 0 | The table could not be created. Row and column count must be greater or equal to 1. |
|---|---|
| Non-zero | A TableID that can be used with the other table functions. |