SetTextHighlightColor

Text, Color

Description

Sets the color used to highlight text.

Syntax

Delphi

function TPDFlib.SetTextHighlightColor(Red, Green, Blue: Double): Integer;

ActiveX

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

DLL

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

Parameters

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