SetLineColor
Vector graphics, Colour
Description
Sets the outline colour for any subsequently drawn graphics. 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.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
| Red | The red component of the colour |
|---|---|
| Green | The green component of the colour |
| Blue | The blue component of the colour |
Return values
| 1 | The outline colour was set |
|---|---|
| 0 | PDF/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 |