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