JS: Modifying 3D annot via JavaScript
Hi. I am a beginner in the JavaScript SDK of Acrobat.
I would like to change the size of the 3D annot but it seems the following piece of code is not working.
var pageIndex = this.pageNum;
var annotIndex = 0;
var aMy3DAnnots = this.getAnnots3D(pageIndex);
var RectArray = aMy3DAnnots[annotIndex].rect;
RectArray = [48, 200, 300, 193];
For fields, I have a similar piece of code and it works.
aObj = this.getAnnots({nPage:0});
aObj[0].rect = [48,100,300,193];
Is there anything that I am doing wrong?
Thank you very much for your guidance. Acrobat SDK@ !
