SetTextUnderlineColorCMYK

Text, Color

Description

Sets the color used to draw the lines for subsequently drawn text that has an underline style, but allows the color to be set using the CMYK color space.

Syntax

Delphi

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

ActiveX

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

DLL

int DLSetTextUnderlineColorCMYK(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 underline color. 0 indicates no cyan, 1 indicates maximum cyan.
MA value between 0 and 1 indicating the amount of magenta to add to the underline color. 0 indicates no magenta, 1 indicates maximum magenta.
YA value between 0 and 1 indicating the amount of yellow to add to the underline color. 0 indicates no yellow, 1 indicates maximum yellow.
KA value between 0 and 1 indicating the amount of black to add to the underline color. 0 indicates no black, 1 indicates maximum black.