🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #17647

Re: Get width and height of selected Rectangle [VB}

#17647
From: reyman
Date: Wed, 21 May 2003 07:31
9 lines
1017 bytes
I hope help you

y1 = rectangle.GeometricBounds(0)
x1 = rectangle.GeometricBounds(1)
y2 = rectangle.GeometricBounds(2)
x2 = rectangle.GeometricBounds(3) 	

so if you want the width of the rectangle :
my_width = x2 - x1
Technical Details
Message-ID: <1de93496.1@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de93496.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,9b520f00cffeb790
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-05-21 00:39:38 PST
From: reyman <reyman23@caramail.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: Get width and height of selected Rectangle [VB}
Message-ID: <1de93496.1@WebX.la2eafNXanI>
Date: Wed, 21 May 2003 00:31:19 -0700
References: <1de93496.-1@WebX.la2eafNXanI>
Lines: 9
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit