InsertTableRows

Layout da página

Descrição

Adiciona linhas à tabela especificada em qualquer posição

Sintaxe

Delphi

Function TPDFlib.InsertTableRows(TableID, Position, NewRowCount: Integer): Integer;

ActiveX

Function PDFlib::InsertTableRows(TableID As Long, Position As Long, NewRowCount As Long) As Long

DLL

int DLInsertTableRows(int InstanceID, int TableID, int Position, int NewRowCount);

Parâmetros

TableIDUm TableID retornado pela função CreateTable
PositionA posição em que inserir as novas linhas. O valor mínimo é 1. O valor máximo é um a mais que o valor retornado pela função GetTableRowCount.
NewRowCountO número de linhas a adicionar à tabela

Valores retornados

0As linhas não puderam ser adicionadas. Verifique o parâmetro TableID e certifique-se de que NewRowCount seja maior ou igual a 1. The Position parameter must also be within range.
Non-zeroO número total de linhas na tabela depois de adicionar as novas linhas.