SetOutlineDestination
Description
Sets the destination that an outline item (bookmark) points to.
Syntax
Delphi
function TQuickPDF0813.SetOutlineDestination(OutlineID, DestPage: Integer;
DestPosition: Double): Integer;
ActiveX
Function QuickPDF0813.PDFLibrary::SetOutlineDestination(OutlineID As Long,
DestPage As Long, DestPosition As Double) As Long
DLL
int QuickPDFSetOutlineDestination(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 |