🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #9010

Move Rectangle that image is in

#9010
From: Jeff_E_Miller
Date: Tue, 12 Sep 2006 01:10
12 lines
1366 bytes
I've searched the web and found nothing of use. I was wondering if anyone could help me out. I have an image inside a rectangle and I want to move the rectangle to the right of the of the page. I have tried the move function and the GeometricBounds but came up with errors. Here is the code in VB:

' IMAGE
        Set oImageRect = oPage.Rectangles.Add
        oImageRect.GeometricBounds = Array(5, 150, 60, 75)
        If Len(rs.Fields("image")) > 0 Then
            sImagePath = CurrentProject.Path & "\" & rs.Fields("image")
            oImageRect.Place sImagePath
            oImageRect.Fit idProportionally
            oImageRect.Fit idCenterContent
        End If
        oImageRect.SendToBack
Technical Details
Message-ID: <3bc19491.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!news.germany.com!news.isoc.lu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,915ae1108be3893a,start
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Jeff_E_Miller@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news2.google.com!news.maxwell.syr.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.cw.net!cw.net!news-FFM2.ecrc.de!news.germany.com!news.isoc.lu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Move Rectangle that image is in
Message-ID: <3bc19491.-1@webcrossing.la2eafNXanI>
Date: Mon, 11 Sep 2006 18:10:22 -0700
Lines: 16
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit