Javascript getAnnots

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

ugradedeveloper
User
Posts: 223
Joined: Wed Aug 22, 2007 4:40 pm

Javascript getAnnots

Post by ugradedeveloper »

I have a question about the SDK implementation of the Javascript method Doc.getAnnots. If I use this:

Code: Select all

   this.getAnnots({nPage:0});
it works fine, but this:

Code: Select all

   this.getAnnots({nSortBy: ANSB_ModDate});
produces an error.

Are there some parameters that aren't supported?

Thanks.
Corwin - Tracker Sup
User
Posts: 664
Joined: Tue Nov 14, 2006 12:23 pm

Re: Javascript getAnnots

Post by Corwin - Tracker Sup »

Fix for this problem will be available in new build.
Thanks.
ugradedeveloper
User
Posts: 223
Joined: Wed Aug 22, 2007 4:40 pm

Re: Javascript getAnnots

Post by ugradedeveloper »

Glad to hear that.

On a related topic, can anyone say if there is a plan to implement getAnnot( nPage, cName ) in the Javascript support?

Thanks.
User avatar
Ivan - Tracker Software
Site Admin
Posts: 3586
Joined: Thu Jul 08, 2004 10:36 pm

Re: Javascript getAnnots

Post by Ivan - Tracker Software »

will add into new build

edit: done.
PDF-XChange Co Ltd. (Project Director)

When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.