Debenu Quick PDF logo




Sets the destination of an outline item (bookmark) to a specific postion on a page, and sets the zoom percentage of the document.



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


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


int DPLSetOutlineDestinationZoom(int InstanceID, int OutlineID, int DestPage,
  double DestPosition, int Zoom)


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 should link to
DestPosition The vertical position on the page that the outline should link to. Specifying a point at the bottom of the page will result in the next page being shown - it is better to link to a point at the top of the page.
Zoom The zoom factor to show the target page at:
0..1600 = Zoom percentage
-1 = Fit in window
-2 = Fit width

Return values

0 The OutlineID was invalid
1 Destination set successfull

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport