Article View: adobe.scripting.indesign
Article #18349Re: AS Set crieria for new line......
From: Olav Kvern
Date: Tue, 01 Apr 2003 23:20
Date: Tue, 01 Apr 2003 23:20
11 lines
1353 bytes
1353 bytes
Roy-- Do you mean 50mm of the *left* edge of the text frame, or 50mm of the *right* edge? Let me know, and I can provide an example. If you want to get started, though, what you need to know is that: * You can get the page position of a text object (such as a character or insertion point) from the HorizontalOffset property. (The Baseline, Ascent, and Descent properties provide the vertical position in page coordinates.) * To figure out where that is relative to the text frame, compare it to the X values in the TextFrame.GeometricBounds array. Thanks, Ole
Technical Details
Message-ID:
<1de88de4.0@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!transit.news.xs4all.nl!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de88de4.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,8281d9502f387775 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-04-01 15:37:55 PST From: "Olav Kvern" <okvern@adobe.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!transit.news.xs4all.nl!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: AS Set crieria for new line...... Message-ID: <1de88de4.0@WebX.la2eafNXanI> Date: Tue, 1 Apr 2003 15:20:49 -0800 References: <1de88de4.-1@WebX.la2eafNXanI> Lines: 17 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit