SetTableCellTextColor

色彩、頁面版面

描述

以 RGB 色彩空間設定一或多個儲存格的預設文字顏色

語法

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);

參數

TableID由 CreateTable 函式傳回的 TableID
FirstRow要設定的第一列列號。最上面的列為第 1 列。
FirstColumn要設定的第一欄欄號。最左欄為第 1 欄。
LastRow要設定的最後一列列號
LastColumn要設定的最後一欄欄號 顏色的紅成分,0 到 1 的值
Red
Green顏色的綠成分,0 到 1 的值
Blue顏色的藍成分,0 到 1 的值 double Green, double Blue);