0 Replies Latest reply on Nov 26, 2012 4:24 AM by Shashank9912

    Needed help in: how to import image in InDesign Server using Java Code

    Shashank9912

      New to InDesign Server.

      I am not been able to import image to document.

       

      I tried to import image using the sample snippets "PlaceTextFileInFrame.java".

       

       

      modified the line:

      String placefilepath = "C:\\placeFile.txt";

      to

      String placefilepath = "C:\\Image.jpg";

       

      myTextFrame.place(placefilepath);

       

      Is this the correct way to import image or there is another solution.

       

      imag.png

       

      1.The image gets imported but i am getting blur image(Zoomed image).

      2.The image gets imported to its original image width & height.

      3.I need to know how to set the image width & size.