Get strokecolor of selected Polygon
Posted: Thu May 18, 2017 9:50 am
Hi!
How can I get the strokecolor of a selected Polygon?
i have tried with a number of things,
This is the latest (but it does not work):
'a = this.selectedAnnots; if (a.length) { var p = a[0].getProps(); p.strokecolor; };';
I am executing this string with RunJavaScript and want to get a string in return that I can use on another object.
How can I get the strokecolor of a selected Polygon?
i have tried with a number of things,
This is the latest (but it does not work):
'a = this.selectedAnnots; if (a.length) { var p = a[0].getProps(); p.strokecolor; };';
I am executing this string with RunJavaScript and want to get a string in return that I can use on another object.