Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
The function creates a named destination that can be accessed from external PDF files.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 4.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
The PDF reference returned from DynaPDF.New. | |||
Name | Name of the destination | "Chapter1" | |
DestPage | Destination Page | 5 | |
DestType | The type of destination, can be XYZoom, Fit, FitHTop, FitVLeft, FitRect, FitB, FitBHTop or FitBVLeft. | "Fit" | |
a | optional parameter | Optional | |
b | optional parameter | Optional | |
c | optional parameter | Optional | |
d | optional parameter | Optional |
Returns number or error.
See also CreateNamedDest function in DynaPDF manual.
Created named dest and add a bookmark using it:
$NamedDest = MBS("DynaPDF.CreateNamedDest"; $pdf; "link" & Create Text::DestPage; Create Text::DestPage; "FitRect"; 100; 200; 300; 400)
$b = MBS("DynaPDF.AddBookmarkEx"; $pdf; Create Text::Title; Create Text::Parent; $NamedDest; Create Text::Open)
This function checks for a license.
Created 6th October 2014, last changed 21st October 2014