Article View: adobe.scripting.indesign
Article #9169Re: [VB] [CS2] it is possible using 'UnitValue' object in VB?
From: Robert Tkaczyk
Date: Fri, 08 Sep 2006 23:14
Date: Fri, 08 Sep 2006 23:14
20 lines
1440 bytes
1440 bytes
zoti100@adobeforums.com napisa?(a): > like java script? > > see this file <http://www.adobe.com/products/indesign/pdfs/InDesign_Scripting_Guide.pdf> I'm affraid, answer is in first line after chapter title ;) Specifying measurement values ExtendScript provides the UnitValue object to represent measurement ^^^^^^^^^^^^ values. The properties and methods of the UnitValue object make it easy to change the value, the unit, or both, or to perform conversions from one unit to another. you can write your own version for VB :) all info is in COMMENTS column ;) robin
Technical Details
Message-ID:
<6EE5901F40EEFDB1E3E2FAE6D2DBAD85@in.webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news1.google.com!news.maxwell.syr.edu!syros.belnet.be!news.belnet.be!news.stben.net!news.isoc.lu!webcrossingReferences:
<3bc18f13.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,83317333d0d6f0da X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII-7-bit From: Robert Tkaczyk <indesignscripts@wp.pl> Newsgroups: adobe.scripting.indesign Subject: Re: [VB] [CS2] it is possible using 'UnitValue' object in VB? Message-ID: <6EE5901F40EEFDB1E3E2FAE6D2DBAD85@in.webcrossing.la2eafNXanI> Date: Fri, 8 Sep 2006 16:14:29 -0700 References: <3bc18f13.-1@webcrossing.la2eafNXanI> Lines: 22 User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) X-Antivirus: avast! (VPS 0636-2, 2006-09-07), Outbound message X-Antivirus-Status: Clean MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news1.google.com!news.maxwell.syr.edu!syros.belnet.be!news.belnet.be!news.stben.net!news.isoc.lu!webcrossing