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
| TableID | TableID zwrócony przez funkcję CreateTable |
|---|---|
| FirstRow | Numer pierwszego ustawianego wiersza. Górny wiersz ma numer 1 |
| FirstColumn | Numer pierwszej ustawianej kolumny. Skrajna lewa kolumna ma numer 1 |
| LastRow | Numer ostatniego ustawianego wiersza |
| LastColumn | Numer ostatniej ustawianej kolumny |
| NewCellAlignment | 0 = 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); |