InsertTableColumns
Layout da página
Descrição
Adiciona colunas à tabela especificada em qualquer posição
Sintaxe
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);
Parâmetros
| TableID | Um TableID retornado pela função CreateTable 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 | O número de colunas a adicionar à tabela |
Valores retornados
| 0 | As colunas não puderam ser adicionadas. Verifique o parâmetro TableID e certifique-se de que NewColumnCount seja maior ou igual a 1. The Position parameter must also be within range. |
|---|---|
| Non-zero | O número total de colunas na tabela depois de adicionar as novas colunas. |