Quantcast
Channel: Adobe Community : Unanswered Discussions - Acrobat
Viewing all articles
Browse latest Browse all 73766

AVAppGetToolByName not working

$
0
0

Hi,

 

I'm developing an Acrobat 11 plugin using the Acrobat 11 SDK. I need to use the pencil/Ink tool in the plugin.

I'm using the below code to do it.

 

AVTool tool = AVAppGetToolByName (ASAtomFromString("Ink"));

AVAppSetActiveTool (tool, true);

 

But the tool is not getting set. On inspection, I found out that AVAppGetToolByName is returning null.

 

But there are certain documents on which it is working perfectly.

This is one of the documents on which its not working, http://www.newfangled.com/stuff/contentmgr/files/2/4948464a80b6d281a26 8afd22ca1ac73/chapter/pdftest.pdf

 

 

Please help me find out whats going wrong.

 

Thanks,


Viewing all articles
Browse latest Browse all 73766

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>