I tried to create bookmark with SetBookmark but when I open the file with Adobe Reader I do not see any bookmarks. Is there a sample of code for creating bookmark.
thank you
Yakov
create bookmark with WPPDFPrinter
-
-
- Offizieller Beitrag
Hi,
"Bookmarks" are invisible - they are similar to MS Words bookmarks (german: "Lesezeichen"). They can be used as jump destinations with hyperlinks and outlines.
What you need are "outlines" - please see the API of wPDF to create outlines.
function SetOutlineXY(const Caption: AnsiString; X, Y: Integer; aPrevious, aParent: Integer): Integer;
function SetOutline(const Caption, BookMarkName: AnsiString; aPrevious, aParent: Integer): Integer;