AVAppGetToolByName not working


hi,

 

i'm developing acrobat 11 plugin using acrobat 11 sdk. need use pencil/ink tool in plugin.

i'm using below code it.

 

avtool tool = avappgettoolbyname (asatomfromstring("ink"));

avappsetactivetool (tool, true);

 

but tool not getting set. on inspection, found out avappgettoolbyname returning null.

 

but there documents on working perfectly.

this 1 of documents on not working, http://www.newfangled.com/stuff/contentmgr/files/2/4948464a80b6d281a268afd22ca1ac73/chapte r/pdftest.pdf

 

 

please me find out whats going wrong.

 

thanks,

does tool work on file manually?  should work programmatically.

 

are sure that's right tool name?



More discussions in Acrobat SDK


adobe

Comments

Popular posts from this blog

How to set the order of FAQs instead of alphabetical

Thread: Get UK Keyboard working

how do I change the e-mail address for my merchant account