Article View: adobe.scripting.indesign
Article #10130Re: [VB] Fitting of Multicolumn TextFrame
From: Kanagaraj
Date: Thu, 06 Jul 2006 11:47
Date: Thu, 06 Jul 2006 11:47
16 lines
1108 bytes
1108 bytes
Hi,
myGeomBounds = myTF.geometricBounds
while (myTF.textColumns[0].lines.count > myTF.textColumns[-1].lines.count) {
myGeomBounds[2]=myGeomBounds[2]-1;
myTF.geometricBounds = myGeomBounds;
}
if (myTF.overflows){
myGeomBounds[2]=myGeomBounds[2]+1;
myTF.geometricBounds = myGeomBounds;
}
Hope this code would help you.
Regards,
Easwaran.
Technical Details
Message-ID:
<3bbfb539.2@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!news.albasani.net!news.ecp.fr!news.stben.net!webcrossingReferences:
<3bbfb539.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,27b3014da76ecb9f,start X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII-7-bit From: Kanagaraj@adobeforums.com Newsgroups: adobe.scripting.indesign Subject: Re: [VB] Fitting of Multicolumn TextFrame Message-ID: <3bbfb539.2@webcrossing.la2eafNXanI> Date: Thu, 6 Jul 2006 04:47:11 -0700 References: <3bbfb539.-1@webcrossing.la2eafNXanI> Lines: 17 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!news4.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!news.albasani.net!news.ecp.fr!news.stben.net!webcrossing