InsertTableColumns
Version history
This function was introduced in Quick PDF Library version 7.16.
Description
Adds columns to the specified table at any position
Syntax
Delphi
function TQuickPDF0813.InsertTableColumns(TableID, Position,
NewColumnCount: Integer): Integer;
ActiveX
Function QuickPDF0813.PDFLibrary::InsertTableColumns(TableID As Long,
Position As Long, NewColumnCount As Long) As Long
DLL
int QuickPDFInsertTableColumns(int InstanceID, int TableID, int Position,
int NewColumnCount)
Parameters
| TableID | A TableID returned by the CreateTable function |
| Position | The position to insert the new colulmns. Minimum value is 1. Maximum value is one greater than the value returned by the GetTableColumnCount function. |
| 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. |