🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #20710

Re: Fit text frame to content

#20710
From: Olav Kvern
Date: Mon, 10 Jun 2002 19:05
11 lines
1343 bytes
Mike-- 

A TextFrame ought to have a Fit method, just like a PageItem, but it doesn't. (Even if it did, it would only work for unlinked text frames that are larger than their text content--just like the fit command in the user interface. And it would only take the idFitFrameToContent parameter.) 

Take a look at the FitFrameToText example script for a variety of tricks for fitting a text frame to the text it contains. 

Alan, if you're monitoring this thread, I think we should add the Fit method to TextFrame--let's put it on the "to do" list. 

Thanks, 

Ole
Technical Details
Message-ID: <ef90224.0@WebX.aaQKaf7vad4>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!isdnet!news-raspail.gip.net!news.gsl.net!gip.net!fr.clara.net!heighliner.fr.clara.net!213.73.101.75.MISMATCH!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <ef90224.-1@WebX.aaQKaf7vad4>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,d44338db9c273209
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2002-06-10 12:07:56 PST
From: "Olav Kvern" <okvern@adobe.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!isdnet!news-raspail.gip.net!news.gsl.net!gip.net!fr.clara.net!heighliner.fr.clara.net!213.73.101.75.MISMATCH!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: Fit text frame to content
Message-ID: <ef90224.0@WebX.aaQKaf7vad4>
Date: Mon, 10 Jun 2002 12:05:32 -0700
References: <ef90224.-1@WebX.aaQKaf7vad4>
Lines: 16
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit