SetTextUnderlineColorSep

Text, Color

Description

Sets the color used to draw the lines for subsequently drawn text that has an underline style. Similar to the SetTextUnderlineColor function, but a tint of a separation color added with the AddSeparationColor function is used.

Syntax

Delphi

function TPDFlib.SetTextUnderlineColorSep(Const ColorName: WideString; Tint: Double): Integer;

ActiveX

Function PDFlib::SetTextUnderlineColorSep(ColorName As String, Tint As Double) As Long

DLL

int DLSetTextUnderlineColorSep(int InstanceID, wchar_t * ColorName, double Tint);

Parameters

ColorNameThe name of the separation color that was used with the AddSeparationColor function
TintThe amount of color to use. 0 indicates no color (white), 1 indicates maximum color.

Return values

0The separation color name could not be found
1The text underline color was set successfully