Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Server Developers
Viewing all articles
Browse latest Browse all 20709

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

$
0
0

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.


Viewing all articles
Browse latest Browse all 20709

Trending Articles



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