Article View: adobe.scripting.indesign
Article #8314Re: resize all pictures to page margin and apply Object Style
From: Peter_Kahrel
Date: Tue, 17 Oct 2006 13:42
Date: Tue, 17 Oct 2006 13:42
8 lines
843 bytes
843 bytes
You probably need to apply the object style to the graphic's containing rectangle, which you can address as the graphic's parent. Try
myGraphic.parent.applyObjectStyle(myDoc.objectStyles.item("pics"));
Peter
Technical Details
Message-ID:
<3bc1fea1.1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.volia.net!news.ecp.fr!news.stben.net!webcrossingReferences:
<3bc1fea1.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,9908d369be80b7b9 X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII-7-bit From: Peter_Kahrel@adobeforums.com Newsgroups: adobe.scripting.indesign Subject: Re: resize all pictures to page margin and apply Object Style Message-ID: <3bc1fea1.1@webcrossing.la2eafNXanI> Date: Tue, 17 Oct 2006 06:42:15 -0700 References: <3bc1fea1.-1@webcrossing.la2eafNXanI> Lines: 5 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.volia.net!news.ecp.fr!news.stben.net!webcrossing