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 Long

DLL

int DLInsertTableRows(int InstanceID, int TableID, int Position, int NewRowCount);

Parameters

TableIDA TableID returned by the CreateTable function
PositionThe position to insert the new rows. Minimum value is 1. Maximum value is one greater than the value returned by the GetTableRowCount function.
NewRowCountThe number of rows to add to the table

Return values

0Rows 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-zeroThe total number of rows in the table after adding the new rows.