Debenu Quick PDF logo

SetOutlineDestination

Outlines

Description

Sets the destination that an outline item (bookmark) points to.

Syntax

Delphi

function TDebenuPDFLibrary1511.SetOutlineDestination(OutlineID, DestPage: Integer; 
  DestPosition: Double): Integer;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::SetOutlineDestination(OutlineID As Long,
  DestPage As Long, DestPosition As Double) As Long

DLL

int DPLSetOutlineDestination(int InstanceID, int OutlineID, int DestPage,
  double DestPosition)

Parameters

OutlineID The ID of the outline as returned by the NewOutline function. Alternatively, use the GetOutlineID function to get a valid outline ID.
DestPage The page number that this outline item links to
DestPosition The vertical position of the page that this outline item links to. Jumping to the bottom of the page will result in the following page being shown. If possible link to the top of the page.

Return values

0 The Outline ID provided was invalid
1 The destination of the outline item was set successfully

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport