Quantcast
Channel: Adobe Community: Message List - Acrobat SDK
Viewing all articles
Browse latest Browse all 10848

Re: How to change icon of FileAttachment in Acrobat SDK

$
0
0

Hi

 

I have make a javascript to get AP of all notations in current pdf file. Below is my code:

 


script = "console.show();\


var aAnnots = this.getAnnots({\


nPage:0, \


bReverse: true\


});\


for (var i=0; i < aAnnots.length; i++)\


console.println(aAnnots[i].AP);";

 

 


ASBool bRc = AFExecuteThisScript (pdDoc, script, NULL);

 

It is only show AP of Stamp used to get AP for fileattachment notation.

Result:

#Yazvxjs8RcS_5P3_g-q5lD (my stamp)

undefined

 

 

Thanks


Viewing all articles
Browse latest Browse all 10848

Trending Articles



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