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ố

TableIDTableID do hàm CreateTable trả về
FirstRowSố thứ tự hàng đầu tiên cần đặt. Hàng trên cùng là hàng số 1
FirstColumnSố 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
LastRowSố thứ tự hàng cuối cùng cần đặt
LastColumnSố thứ tự cột cuối cùng cần đặt
NewCellAlignment0 = 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);