SetTableCellBorderWidth
Bố cục trang
Mô tả
Đặt độ rộng viền của một hoặc nhiều ô
Cú pháp
Delphi
Function TPDFlib.SetTableCellBorderWidth(TableID, FirstRow, FirstColumn, LastRow, LastColumn, BorderIndex: Integer; NewWidth: Double): Integer;
ActiveX
Function PDFlib::SetTableCellBorderWidth(TableID As Long, FirstRow As Long, FirstColumn As Long, LastRow As Long, LastColumn As Long, BorderIndex As Long, NewWidth As Double) As Long
DLL
int DLSetTableCellBorderWidth(int InstanceID, int TableID, int FirstRow, int FirstColumn, int LastRow, int LastColumn, int BorderIndex, double NewWidth);
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 0 = Tất cả viền 1 = Trái 2 = Trên 3 = Phải 4 = Dưới |
| BorderIndex | |
| NewWidth | Độ rộng mới của viền chỉ định double NewWidth); |