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