SetFormFieldBorderColorCMYK
Form fields, Color
Description
Sets the border color of the specified form field. Similar to the SetFormFieldBorderColor function, but the color components are specified in the CMYK color space (Cyan, Magenta, Yellow, Black). The values of the color parameters range from 0 to 1, with 0 indicating 0% and 1 indicating 100% of the color.
Syntax
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 LongDLL
int DLSetFormFieldBorderColorCMYK(int InstanceID, int Index, double C, double M, double Y, double K);Parameters
| Index | The index of the form field |
|---|---|
| C | The amount of cyan for the color. 0 indicates no cyan, 1 indicates maximum cyan. |
| M | The amount of magenta for the color. equivalent to the separation color. 0 indicates no magenta, 1 indicates maximum magenta. |
| Y | The amount of yellow for the color. 0 indicates no yellow, 1 indicates maximum yellow. |
| K | The amount of black for the color. 0 indicates no black, 1 indicates maximum black. |
Return values
| 0 | The form field could not be found |
|---|---|
| 1 | The border color of the specified form field was set successfully |