InsertTableRows
Page layout
Description
Adds rows to the specified table at any position
Syntax
Delphi
function TPDFlib.InsertTableRows(TableID, Position, NewRowCount: Integer): Integer;ActiveX
Function PDFlib::InsertTableRows(TableID As Long, Position As Long, NewRowCount As Long) As LongDLL
int DLInsertTableRows(int InstanceID, int TableID, int Position, int NewRowCount);Parameters
| TableID | A TableID returned by the CreateTable function |
|---|---|
| Position | The position to insert the new rows. Minimum value is 1. Maximum value is one greater than the value returned by the GetTableRowCount function. |
| NewRowCount | The number of rows to add to the table |
Return values
| 0 | Rows could not be added. Check the TableID parameter and make sure NewRowCount is greater than or equal to 1. The Position parameter must also be within range. |
|---|---|
| Non-zero | The total number of rows in the table after adding the new rows. |