SetTableCellBorderColorCMYK

颜色、页面布局

描述

使用 CMYK 颜色空间设置一个或多个单元格边框的颜色

语法

Delphi

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

ActiveX

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

DLL

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

参数

TableID由 CreateTable 函数返回的 TableID
FirstRow要设置的第一行行号,最上方一行为第 1 行
FirstColumn要设置的第一列列号,最左侧列的列号为 1
LastRow要设置的最后一行行号
LastColumn要设置的最终列编号 0 = 所有边框 1 = 左 2 = 上 3 = 右 4 = 下
BorderIndex
C颜色的青色分量,取值范围为 0 到 1
M颜色的品红色分量,取值范围为 0 到 1
Y颜色的黄色分量,取值范围为 0 到 1
K颜色的黑色分量,取值范围为 0 到 1