SetTableCellBorderColor
Màu, Bố cục trang
Mô tả
Đặt màu viền của một hoặc nhiều ô bằng không gian màu RGB
Cú pháp
Delphi
Function TPDFlib.SetTableCellBorderColor(TableID, FirstRow, FirstColumn, LastRow, LastColumn, BorderIndex: Integer; Red, Green, Blue: Double): Integer;
ActiveX
Function PDFlib::SetTableCellBorderColor(TableID As Long, FirstRow As Long, FirstColumn As Long, LastRow As Long, LastColumn As Long, BorderIndex As Long, Red As Double, Green As Double, Blue As Double) As Long
DLL
int DLSetTableCellBorderColor(int InstanceID, int TableID, int FirstRow, int FirstColumn, int LastRow, int LastColumn, int BorderIndex, double Red, double Green, double Blue);
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 | |
| Red | Thành phần đỏ của màu, giá trị từ 0 đến 1 |
| Green | Thành phần xanh lá của màu, giá trị từ 0 đến 1 |
| Blue | Thành phần xanh dương của màu, giá trị từ 0 đến 1 double Red, double Green, double Blue); |