SetTableCellAlignment

Układ strony

Opis

Ustawia wyrównanie pionowe i poziome co najmniej jednej komórki

Składnia

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);

Parametry

TableIDTableID zwrócony przez funkcję CreateTable
FirstRowNumer pierwszego ustawianego wiersza. Górny wiersz ma numer 1
FirstColumnNumer pierwszej ustawianej kolumny. Skrajna lewa kolumna ma numer 1
LastRowNumer ostatniego ustawianego wiersza
LastColumnNumer ostatniej ustawianej kolumny
NewCellAlignment0 = u góry po lewej 1 = u góry pośrodku 2 = u góry po prawej 3 = pośrodku po lewej 4 = pośrodku 5 = pośrodku po prawej 6 = u dołu po lewej 7 = u dołu pośrodku 8 = u dołu po prawej int NewCellAlignment);