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

TableIDUm 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
NewColumnCountO número de colunas a adicionar à tabela

Valores retornados

0As 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-zeroO número total de colunas na tabela depois de adicionar as novas colunas.