Article View: adobe.scripting.indesign
Article #14827Re: JS: Units is always millimeter?
From: Olav_Kvern
Date: Tue, 13 Jan 2004 18:56
Date: Tue, 13 Jan 2004 18:56
25 lines
1424 bytes
1424 bytes
Magnus-- You can also change the measurement units using the view preferences object: //To change the default units of measurement for the application: app.viewPreferences.horizontalMeasurementUnits = MeasurementUnits.points; app.viewPreferences.verticalMeasurementUnits = MeasurementUnits.points; //To change the default units of measurement for the active document: app.activeDocument.viewPreferences.horizontalMeasurementUnits = MeasurementUnits.points; app.activeDocument.viewPreferences.verticalMeasurementUnits = MeasurementUnits.points; //Options are: //MeasurementUnits.points //MeasurementUnits.picas //MeasurementUnits.inches //MeasurementUnits.millimeters //MeasurementUnits.ciceros Hope this helps! Thanks, Ole
Technical Details
Message-ID:
<2ccf5764.1@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!webxReferences:
<2ccf5764.-1@webx.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,c670c6d907361d49 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2004-01-13 11:07:59 PST From: Olav_Kvern@adobeforums.com Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.scripting.indesign Subject: Re: JS: Units is always millimeter? Message-ID: <2ccf5764.1@webx.la2eafNXanI> Date: Tue, 13 Jan 2004 10:56:54 -0800 References: <2ccf5764.-1@webx.la2eafNXanI> Lines: 26 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit