13 Replies Latest reply on Mar 16, 2015 11:02 AM by Mirko Janetzke

    place image and left align

    Mirko Janetzke

      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