#1 Re: PDF Engine » How to create bookmarks » 2014-08-05 13:12:02

Thank you, but I'm just rendering bitmaps, not metafiles.

#2 PDF Engine » How to create bookmarks » 2014-08-05 12:05:59

danclau
Replies: 3

Hi,

I would appreciate if somebody can share some code that shows how add bookmarks to a PDF file.

I already tried using this code, and many other variations (after adding a page), but it doesn't work:

          myPDF.CreateBookMark(0,'Page 3');
          arect.Left:=L;//L,T,B and R are the page margins
          arect.Top:=T;
          arect.Bottom:=T;
          arect.Right:=R;
          myPDF.CreateLink(arect,'Page 3');

After CreateBookmark failed I though I may create a link as well, but it is clear that I do not understand how to do it.

Thanks in advance.
Daniel

Board footer

Powered by FluxBB