SetOutlineColor
Color, Outlines
Description
Sets the color of an outline item (bookmark). 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.SetOutlineColor(OutlineID: Integer; Red, Green, Blue: Double): Integer;ActiveX
Function PDFlib::SetOutlineColor(OutlineID As Long, Red As Double, Green As Double, Blue As Double) As LongDLL
int DLSetOutlineColor(int InstanceID, int OutlineID, double Red, double Green, double Blue);Parameters
| OutlineID | The ID of the outline as returned by the NewOutline function. Alternatively, use the GetOutlineID function to get a valid outline ID. |
|---|---|
| Red | The red component of the color |
| Green | The green component of the color |
| Blue | The blue component of the color |
Return values
| 0 | The Outline ID provided was invalid |
|---|---|
| 1 | The color of the outline item was set successfully |