SetTableCellAlignment
Page layout
Mô tả
Đặt căn dọc và căn ngang của một hoặc nhiều ô
Cú pháp
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);
Tham số
| TableID | TableID do hàm CreateTable trả về |
|---|---|
| FirstRow | Số thứ tự hàng đầu tiên cần đặt. Hàng trên cùng là hàng số 1 |
| FirstColumn | Số thứ tự cột đầu tiên cần đặt. Cột ngoài cùng bên trái là cột số 1 |
| LastRow | Số thứ tự hàng cuối cùng cần đặt |
| LastColumn | Số thứ tự cột cuối cùng cần đặt |
| 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); |