SetTableCellAlignment
Disposition des pages
Description
Définit l’alignement vertical et horizontal d’une ou plusieurs cellules
Syntaxe
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);
Paramètres
| TableID | TableID renvoyé par la fonction CreateTable |
|---|---|
| FirstRow | Numéro de la première ligne à définir La ligne supérieure porte le numéro 1 |
| FirstColumn | Le numéro de la première colonne à définir La colonne la plus à gauche porte le numéro 1 |
| LastRow | Numéro de la dernière ligne à définir |
| LastColumn | Numéro de la dernière colonne à définir |
| NewCellAlignment | 0 = haut gauche 1 = haut centre 2 = haut droit 3 = milieu gauche 4 = milieu centre 5 = milieu droit 6 = bas gauche 7 = bas centre 8 = bas droit int NewCellAlignment); |