SetTableCellTextColorCMYK

色彩、頁面版面

描述

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

語法

Delphi

Function TPDFlib.SetTableCellTextColorCMYK(TableID, FirstRow, FirstColumn, LastRow, LastColumn: Integer; C, M, Y, K: Double): Integer;

ActiveX

Function PDFlib::SetTableCellTextColorCMYK(TableID As Long, FirstRow As Long, FirstColumn As Long, LastRow As Long, LastColumn As Long, C As Double, M As Double, Y As Double, K As Double) As Long

DLL

int DLSetTableCellTextColorCMYK(int InstanceID, int TableID, int FirstRow, int FirstColumn, int LastRow, int LastColumn, double C, double M, double Y, double K);

參數

TableID由 CreateTable 函式傳回的 TableID
FirstRow要設定的第一列列號。最上面的列為第 1 列。
FirstColumn要設定的第一欄欄號。最左欄為第 1 欄。
LastRow要設定的最後一列列號
LastColumn要設定的最後一欄欄號 顏色的青成分,0 到 1 的值
C
M顏色的洋紅成分,0 到 1 的值
Y顏色的黃成分,0 到 1 的值
K顏色的黑成分,0 到 1 的值