Debenu Quick PDF logo

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 TDebenuPDFLibrary1511.SetOutlineColor(OutlineID: Integer; Red, Green, 
  Blue: Double): Integer;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::SetOutlineColor(OutlineID As Long,
  Red As Double, Green As Double, Blue As Double) As Long

DLL

int DPLSetOutlineColor(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

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport