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ố

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 Thành phần đỏ của màu, giá trị từ 0 đến 1
Red
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 Green, double Blue);