This content has been marked as final. Show 4 replies
Use the geometricBounds property. It's an array, so you have to set it as an array, not as individual members of the array. So:
myImage.geometricBounds = [y, x, y+height, x+width];
thanks for the answer. I thaught also about this way, but how do I get resp. create the object "myImage"?
var myImage = new Image();
but "there is no constructor Image"!
var myImage = Image.place(File(path),false);
result in "place is not a function"!
The links on this page should help:
thanks for your tips. I have already read these documentations before but have also overlooked page 41 of the scripting tutorial -sorry!
Now it works:-)