Article View: adobe.scripting.indesign
Article #159[JS] visible bounds of an object with drop shadow?
From: Peter Davis
Date: Mon, 30 Mar 2009 18:38
Date: Mon, 30 Mar 2009 18:38
17 lines
1923 bytes
1923 bytes
A lot of effects, such as outer glow, embossing, and drop shadow, add graphics to the outside of an object on the page. I know that the PageItem's geometricBounds contains only the defining geometry of the object, and visibleBounds contain the stroke width. Is there any way to get the full size of the object, including drop shadow, outer glow, etc.? Since it's no longer possible to call exportFile on a selection, I need to make certain objects nonprinting in order to generate an EPS for just some of the items on a page. The EPS invariably has a bounding box that encompasses the entire page, but I'd like to figure out the actual bounds of all the visible marks on the page, including effects. Thanks, -pd
Technical Details
Message-ID:
<1e3f1758-7c38-4fb9-ae95-125a2d2acd25@v6g2000vbb.googlegroups.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!v6g2000vbb.googlegroups.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: f939a,f0b2b8709744a731,start X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews.google.com!v6g2000vbb.googlegroups.com!not-for-mail From: Peter Davis <pfdavis@gmail.com> Newsgroups: adobe.scripting.indesign Subject: [JS] visible bounds of an object with drop shadow? Date: Mon, 30 Mar 2009 11:38:41 -0700 (PDT) Organization: http://groups.google.com Lines: 18 Message-ID: <1e3f1758-7c38-4fb9-ae95-125a2d2acd25@v6g2000vbb.googlegroups.com> NNTP-Posting-Host: 66.150.206.225 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1238438321 18782 127.0.0.1 (30 Mar 2009 18:38:41 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 30 Mar 2009 18:38:41 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: v6g2000vbb.googlegroups.com; posting-host=66.150.206.225; posting-account=G2l8pgoAAABQYixzPXgqN3qQugbP4n5s User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.8) Gecko/2009032608 Firefox/3.0.8,gzip(gfe),gzip(gfe)