Article View: adobe.scripting.indesign
Article #19365Re: To align Objects (VB)
From: Olav Kvern
Date: Wed, 08 Jan 2003 00:47
Date: Wed, 08 Jan 2003 00:47
9 lines
1202 bytes
1202 bytes
Reinhard-- No, there is no method that corresponds to the buttons in the Align palette (if there were, it would be on either the Page or Spread object). Add the objects to a Collection, as I did in the example, then pass them off to the subroutine I've provided. All you need to do is paste three sections (the Enum definition, the subroutine, and the function) into your VB form), and you'll have the feature. I've provided for every type of alignment I can imagine.<g> Thanks, Ole
Technical Details
Message-ID:
<1de74227.2@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1de74227.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,e41d12bc2e370c81 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-01-07 17:09:36 PST From: "Olav Kvern" <okvern@adobe.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: To align Objects (VB) Message-ID: <1de74227.2@WebX.la2eafNXanI> Date: Tue, 7 Jan 2003 16:47:45 -0800 References: <1de74227.-1@WebX.la2eafNXanI> Lines: 14 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit