Quantcast
Channel: Adobe Community : Popular Discussions - Illustrator Scripting
Viewing all articles
Browse latest Browse all 12845

Does placedItems.add() take additional parameters?

$
0
0

When manually placing objects (pdf files) in Illustrator you get an option to select either bleed, trim, art, bounding box etc as the bounds of the placed document.

Can this be specified in the script? At the moment my artwork gets cropped at trim box. I would really want to use bleed to bounding box when placing items in my script.

Thanks.

file = whatever pdf I have to place.

function makeTempPDF(file){

   docRef = app.documents.add();

  newLayer = docRef.layers.add();

  thisPlacedItem = newLayer.placedItems.add();

  thisPlacedItem.file = file;

}


Viewing all articles
Browse latest Browse all 12845

Trending Articles



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