SetTextUnderlineColor

Text, Color

Description

Sets the color used to draw the lines for subsequently drawn text that has an underline style until the next NewPage or SelectPage call.

Syntax

Delphi

Function TPDFlib.SetTextUnderlineColor(Red, Green, Blue: Double): Integer;

ActiveX

Function PDFlib::SetTextUnderlineColor(Red As Double, Green As Double, Blue As Double) As Long

DLL

int DLSetTextUnderlineColor(int InstanceID, double Red, double Green, double Blue);

Parameters

RedA value between 0 and 1 indicating the amount of red to add to the underline color. 0 indicates no red, 1 indicates maximum red.
GreenA value between 0 and 1 indicating the amount of green to add to the underline color. 0 indicates no green, 1 indicates maximum green.
BlueA value between 0 and 1 indicating the amount of blue to add to the underline color. 0 indicates no blue, 1 indicates maximum blue.

Return values

Returns 1