SetTextHighlightColorCMYK

Text, Colour

Description

Sets the colour used to highlight text, but allows the colour to be specified in the CMYK colour space.

Syntax

Delphi

function TPDFlib.SetTextHighlightColorCMYK(C, M, Y, K: Double): Integer;

ActiveX

Function PDFlib::SetTextHighlightColorCMYK(C As Double, M As Double, Y As Double, K As Double) As Long

DLL

int DLSetTextHighlightColorCMYK(int InstanceID, double C, double M, double Y, double K);

Parameters

CA value between 0 and 1 indicating the amount of cyan to add to the highlight colour. 0 indicates no cyan, 1 indicates maximum cyan.
MA value between 0 and 1 indicating the amount of magenta to add to the highlight colour. 0 indicates no magenta, 1 indicates maximum magenta.
YA value between 0 and 1 indicating the amount of yellow to add to the highlight colour. 0 indicates no yellow, 1 indicates maximum yellow.
KA value between 0 and 1 indicating the amount of black to add to the highlight colour. 0 indicates no black, 1 indicates maximum black.