Hi,

I have an issue regarding the use of GetPage() of PdfDocument. I want to
create links to various pages in my document. For that this is the code
that I use:

    pAnnot = pPage->CreateAnnotation(ePdfAnnotation_Link, *pRect);
    pDest = new PdfDestination(pDoc->GetPage(IpageIndex), 1, 1, 0);
    pAnnot->SetDestination(*pDest);

The variable iPageIndex starts begins from 0. This code works fine with
Adobe reader 8. But from Adode reader 9 onwards, this code always leads to
the next page, rather than the desired page. I am not sure whether I am
making some mistake, or this a problem that exists with different versions
of Adobe reader. If it is the latter how can I tweak this problem so that
my document can be read on all versions.

Thanks in advance

Regards
Anil K
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to