SetTableCellAlignment

Layout da página

Descrição

Define o alinhamento vertical e horizontal de uma ou mais células

Sintaxe

Delphi

Function TPDFlib.SetTableCellAlignment(TableID, FirstRow, FirstColumn, LastRow, LastColumn, NewCellAlignment: Integer): Integer;

ActiveX

Function PDFlib::SetTableCellAlignment(TableID As Long, FirstRow As Long, FirstColumn As Long, LastRow As Long, LastColumn As Long, NewCellAlignment As Long) As Long

DLL

int DLSetTableCellAlignment(int InstanceID, int TableID, int FirstRow, int FirstColumn, int LastRow, int LastColumn, int NewCellAlignment);

Parâmetros

TableIDUm TableID retornado pela função CreateTable
FirstRowO número da primeira linha a definir. A linha do topo é a linha 1.
FirstColumnO número da primeira coluna a definir. A coluna mais à esquerda é a coluna 1.
LastRowO número da última linha a definir
LastColumnO número da última coluna a definir
NewCellAlignment0 = superior esquerdo 1 = superior central 2 = superior direito 3 = meio esquerdo 4 = meio central 5 = meio direito 6 = inferior esquerdo 7 = inferior central 8 = inferior direito

Valores retornados

1O alinhamento foi aplicado às células selecionadas
0TableID não é uma tabela válida, a faixa de linhas ou colunas está fora da tabela, ou NewCellAlignment está fora da faixa suportada de 0 a 8