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ố

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 0 = Tất cả viền 1 = Trái 2 = Trên 3 = Phải 4 = Dưới
BorderIndex
RedThành phần đỏ của màu, giá trị từ 0 đến 1
GreenThành phần xanh lá của màu, giá trị từ 0 đến 1
BlueThành phần xanh dương của màu, giá trị từ 0 đến 1 double Red, double Green, double Blue);