WPCubed Product Support

COMPDF_GotoNamedDest

Here is the PDF file:
[](http://dl.free.fr/gFbhZMaLl)

The bookmark "Annonces" appears in Adobe Reader. When I try
i := ViewPDF1.commandStr(COMPDF_GotoNamedDest, 'Annonces');
it does not work for me.

#3 ♥ 0
5.1k Views 1 links 2 users read 1 min
support

Hi,

Is the name really listed in the PDF file?

If that does not work I would really like to see the PDF.

Julian

#2 ♥ 0

Hello,

I'm using WPViewPDF V3.03.4 from 6.3.2012.

How does COMPDF_GotoNamedDest work?

I tried this:

i := ViewPDF1.commandStr(COMPDF_GotoNamedDest, 'Bookmark1');
   if i > -1 then
    ViewPDF1.Page := i;

However, it does not detect the bookmark named 'Bookmark 1' although it is clearly available in Adobe Reader. ViewPDF1.commandStr returns -1.

Am I doing something wrong?

Thanks in advance!

#1 ♥ 0