🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #19250

FitFrameToContent [VB]

#19250
From: Chris Haas
Date: Mon, 30 Dec 2002 07:34
10 lines
1411 bytes
From inside InDeisgn you can fit a text box to the frame content, but I
can't seem to do it inside of VB. I thought I might be able to pass the ID
of the textframe I'm working with to another Sub that looks through all
PageItems and then does a Fit when it finds the correct ID, but I kept
getting errors. The only other method I've come up with is to shrink the
textframe down really small and then keep increasing it by a couple of
points till Overflows is falls, but this doesn't seem too efficient. Can I
just Fit a TextFrame somehow?

thanks
Technical Details
Message-ID: <7A0FD84B1C5FB62E14681EC45934C7A4@in.WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,214ab2b71d4aca62,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2002-12-29 23:38:03 PST
From: "Chris Haas" <chrish@ovationadvertising.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: FitFrameToContent [VB]
Message-ID: <7A0FD84B1C5FB62E14681EC45934C7A4@in.WebX.la2eafNXanI>
Date: Sun, 29 Dec 2002 23:34:25 -0800
Lines: 12
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit