SetTextColor

Text, Colour

Description

Sets the colour for any subsequently drawn text. The values of the colour parameters range from 0 to 1, with 0 indicating 0% and 1 indicating 100% of the colour.

Syntax

Delphi

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

ActiveX

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

DLL

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

Parameters

RedThe red component of the colour
GreenThe green component of the colour
BlueThe blue component of the colour