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 Long

DLL

int DLInsertTableColumns(int InstanceID, int TableID, int Position, int NewColumnCount);

Parameters

TableIDA 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
NewColumnCountThe number of columns to add to the table

Return values

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