var annots = this.getAnnots();
console.clear();
for (var i = 0; i < annots.length; i++)
{
//console.println(annots[i].toString());
//if (annots[i].type == "PolyLine")
{
var a = annots[i].getProps();
for(var o in a)
{
console.println( "annots." + o + "=" + a[o]);
}
console.println( "==========================")
++counter;
}
}
app.alert("Total comments count: " + annots.length + " / : " + counter);
'S.W. > PDF' 카테고리의 다른 글
[PDF/Javascript] FDF/XFDF - Import / Export String/File (0) | 2021.08.06 |
---|---|
[PDF/Javascript] Add Navigation Buttons To All Pages (0) | 2021.08.06 |
[PDF/Javascript] ADOBE - Acrobat DC Javascript 문서 (0) | 2021.08.06 |
[PDF/Javascript] addAnnot - FreeText, PolyLine (0) | 2021.08.06 |
[PDF/Javascript] Adding multiline rich text (0) | 2021.08.06 |