hello
i have following js code:
var annot = this.addannot()
var c = '{page: 0,points: [[10,40],[200,200]],strokecolor: color.red,author: "a. c. robat",contents: "check jones on point.",popupopen: true,popuprect: [200, 100, 400, 200],arrowarrowbegin: "diamond",arrowend:"openarrow"}';
annot.setprops(eval("c"));
but not set annotation
what problem?
use somethins this:
var annot = this.addannot();
var c = {page: 0,points: [[10,40],[200,200]],strokecolor: color.red,author: "a. c. robat",contents: "check jones on point.",popupopen: true,popuprect: [200, 100, 400, 200],arrowbegin: "diamond",arrowend:"openarrow"};
annot.setprops(c);
More discussions in JavaScript
adobe
Comments
Post a Comment