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

TableIDTableID renvoyé par la fonction CreateTable
FirstRowNuméro de la première ligne à définir La ligne supérieure porte le numéro 1
FirstColumnLe numéro de la première colonne à définir La colonne la plus à gauche porte le numéro 1
LastRowNuméro de la dernière ligne à définir
LastColumnNuméro de la dernière colonne à définir
NewCellAlignment0 = 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);