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