Quantcast
Channel: Adobe Community : All Content - All Communities
Viewing all articles
Browse latest Browse all 290743

How can I set width or height of an object?

$
0
0

Hi Guys,

 

is there a simple method to set a width/height of an object in absolute values without messing with .geometricBounds?

 

Something like this:

app.activeDocument.selection [0].width = "150 mm";

 

or

 

app.activeDocument.selection [0].width("150 mm", ConstrainProportion.Yes, AnchorPoint.bottomLeftAnchor);

 

The object is in my case usually a vector graphic copied out of Illustrator.

 

PanDulka


Viewing all articles
Browse latest Browse all 290743

Trending Articles



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