Article View: adobe.scripting.indesign
Article #16331[VB] Working with GeometricBounds
From: Guy Verville
Date: Thu, 25 Sep 2003 13:26
Date: Thu, 25 Sep 2003 13:26
14 lines
1276 bytes
1276 bytes
I want to place a TextFrame at the bottom of a page, taking into account the Bottom Margin of that page. I get an Incompatible type error at the bold lines. I know that the Bounds are of a Variant type and the Margins are Doubles. But how to match both eludes me. Thanks to help. My code is: With myPage MarginB=.MarginPreferences.MarginBottom MarginL=.MarginPreferences.MarginLeft myBounds = DocCDN.GeometricBounds myBounds(1) = .Bounds(1)-MarginB myBounds(3) = .Bounds(3)-MarginB DocCDN.GeometricBounds = myBounds End With
Technical Details
Message-ID:
<2ccd88b5.-1@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webxShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,34141f6e382b2aea,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-09-25 06:37:56 PST From: "Guy Verville" <taddeus@spamcop.net> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.scripting.indesign Subject: [VB] Working with GeometricBounds Message-ID: <2ccd88b5.-1@webx.la2eafNXanI> Date: Thu, 25 Sep 2003 06:26:28 -0700 Lines: 16 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit