Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Scripting
Viewing all articles
Browse latest Browse all 15932

place image and left align

$
0
0

Hi all,

 

I want to set the alignment of a placed image to left, but I cannot get it to work. Does anybody has an idea?

 

This is my code of placing, where "box" is the Textframe:


var newObject = box.place(File(filepath));

box.fit(FitOptions.proportionally);

// set the alignment of the image to "HorizontalAlignment.LEFT_ALIGN"

 

Thanks for helping!

Mirko


Viewing all articles
Browse latest Browse all 15932


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