🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #10153

GeometricBounds expression

#10153
From: ykish
Date: Fri, 07 Jul 2006 09:17
14 lines
1181 bytes
I want to display GeometricBounds with measurement unit.
What is the best way for that.
In the example of vbscript, String with unit is permitted.
 ex) myOval.GeometricBounds = Array("6p", "6p", "18p", "18p")
But I don't know how to get that string with unit from GeometricBounds variable.

Should I transfer GeometricBounds number value to string by myself?
It has some problem.
Point or inch is easy, because we just add "pt or in" end of number
 -> 17.2 in, 8.5p
But in case of such like picas, We have to insert "p" into the among the number
 -> 49p7.276
It's complex problem.
Is there any clear and easy solution?
Technical Details
Message-ID: <3bc0d676.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.volia.net!syros.belnet.be!news.belnet.be!news.stben.net!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,d51465a26d639da9,start
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: ykish@adobeforums.com
Newsgroups: adobe.scripting.indesign
Subject: GeometricBounds expression
Message-ID: <3bc0d676.-1@webcrossing.la2eafNXanI>
Date: Fri, 7 Jul 2006 02:17:14 -0700
Lines: 16
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!news2.volia.net!syros.belnet.be!news.belnet.be!news.stben.net!webcrossing