Quantcast
Channel: Adobe Community: Message List - FrameMaker Scripting
Viewing all articles
Browse latest Browse all 3715

Re: ESTK - draw a graphic

$
0
0

Klaus,

NumPoints and Points are readonly properties in ES (at least when I have a look to ObjectModel-Viewer)

 

So you can't change that properties directly.

 

But this also doesn't have any effect…

  var existingPolypointsNum = oPoly.NumPoints;  for (var i=0; i < existingPolypointsNum; i++)        oPoly.Points.pop();  for (var i=0; i < points.length; i++)        oPoly.Points.push(points[i]);

… but it should…

existing points are not removed and new points are not added.

and as it does not, I assume this feature seems not to be supported by ESTK... while it works with F_ApiSetPoints in FDK

 

Perhaps SetProps could help, but I don't think so.

 

For that reason I'm out. Perhaps someone else has an idea.

 

Markus


Viewing all articles
Browse latest Browse all 3715

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>