1 Reply Latest reply on Nov 27, 2008 4:02 AM by Loic.Aigon

    Image Placing Problem

    subhaoviya Level 1
      I am trying to place .ai file in InDesign CS2.
      while placing the image right side shows some white space.
      How to remove the white space using javascript.

      please help me.

      Thanks in advance........
        • 1. Re: Image Placing Problem
          Loic.Aigon Adobe Community Professional
          Hi I dropped a look with a AI file.
          I get for my own a space all around the graphic. But in fact, it depends on the placing options of the place dialog box. If I set placing options to "graphic", I have no more extra spaces.
          Bad news is that with the JS place command, it seems that you can just ask for displaying or not the place dialog box but not set the options from this point.
          I don't know if it's the answer you wait. However, if it's just the frame that is too wide regarding to the graphic, you can use
          myContainer.fit(FitOptions.FRAME_TO_CONTENT)
          //myContainer is the parent container of your graphic
          Hope it helps
          Loic