🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #16709

Re: [VB] Best way to find out vert. center of row

#16709
From: Alex Bu
Date: Tue, 05 Aug 2003 04:01
15 lines
1380 bytes
Hi!

Yeah, this helps. But I still have some problems. This is how far I came:

Set myRow = MyIndesign.Selection.Item(1)
Set myCell = myRow.Cells.Item(1)
MsgBox (myCell.Cells.Item(1).InsertionPoints.Item(1).Baseline)
MsgBox (myCell.FirstBaselineOffset)
REM This line isn't complete yet
Set MyTopOfCell = myCell.FirstBaselineOffset

It doesn't seem to be a problem to show the FirstBaselineOffset in the message box. But when I try to use it for setting a variable I'm getting an error. Also it seems to be a very strange value. Something like 1243535534. Doesn't seem to make any sense.

Thanks in advance,
Alex
Technical Details
Message-ID: <1dea31e6.1@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.arcor-online.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1dea31e6.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,8d6ef4a33a455d0a
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-08-04 21:08:04 PST
From: "Alex Bu" <12three@gmx.de>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.arcor-online.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: [VB] Best way to find out vert. center of row
Message-ID: <1dea31e6.1@WebX.la2eafNXanI>
Date: Mon, 4 Aug 2003 21:01:50 -0700
References: <1dea31e6.-1@WebX.la2eafNXanI>
Lines: 19
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit