SetTableCellAlignment
頁面版面
描述
設定一或多個儲存格的垂直與水平對齊
語法
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);
參數
| TableID | 由 CreateTable 函式傳回的 TableID |
|---|---|
| FirstRow | 要設定的第一列列號。最上面的列為第 1 列。 |
| FirstColumn | 要設定的第一欄欄號。最左欄為第 1 欄。 |
| LastRow | 要設定的最後一列列號 |
| LastColumn | 要設定的最後一欄欄號 |
| NewCellAlignment | 0 = top left 1 = top center 2 = top right 3 = middle left 4 = middle center 5 = middle right 6 = bottom left 7 = bottom center 8 = bottom right int NewCellAlignment); |