SetLineColor

Vector graphics, Color

Description

Sets the outline color for any subsequently drawn graphics until the next NewPage or SelectPage call. The values of the color parameters range from 0 to 1, with 0 indicating 0% and 1 indicating 100% of the color.

Syntax

Delphi

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

ActiveX

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

DLL

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

Parameters

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

Return values

1The outline colour was set
0PDF/X-1a is active, or another PDF/X mode is active with an output intent colour space other than DeviceRGB; LastErrorCode is set to 601