SetFormFieldBorderColorCMYK
表单字段、颜色
描述
设置指定表单字段的边框颜色。与 SetFormFieldBorderColor 函数类似,但颜色分量在 CMYK 颜色空间(青色、品红色、黄色、黑色)中指定。颜色参数的取值范围为 0 至 1,其中 0 表示颜色的 0%,1 表示 100%
语法
Delphi
Function TPDFlib.SetFormFieldBorderColorCMYK(Index: Integer; C, M, Y, K: Double): Integer;
ActiveX
Function PDFlib::SetFormFieldBorderColorCMYK(Index As Long, C As Double, M As Double, Y As Double, K As Double) As Long
DLL
int DLSetFormFieldBorderColorCMYK(int InstanceID, int Index, double C, double M, double Y, double K);
参数
| Index | 表单字段的索引 |
|---|---|
| C | 颜色的青色量。0 表示无青色,1 表示最大青色 |
| M | 颜色的品红色量,相当于分色颜色。0 表示无品红色,1 表示最大品红色量 |
| Y | 颜色的黄色成分。0 表示无黄色,1 表示最大黄色量 |
| K | 颜色的黑色量。0 表示无黑色,1 表示最大黑色 |
返回值
| 0 | 找不到表单字段 |
|---|---|
| 1 | 指定表单字段的边框颜色已成功设置 |