COMPDF_GotoNamedDest

  • Hello,

    I'm using WPViewPDF V3.03.4 from 6.3.2012.

    How does COMPDF_GotoNamedDest work?

    I tried this:

    Code
    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!