🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #17517

Re: N-sided polygons

#17517
From: roberto soto
Date: Mon, 02 Jun 2003 17:14
18 lines
1148 bytes
Hi John,

Try this:

Set myInDesign = CreateObject("InDesign.Application.2.0")
    Set myDocument = myInDesign.ActiveDocument
    Set myShape = myDocument.Pages.Item(1).Rectangles.Add
    myShape.GeometricBounds = Array(10, 10, 20, 30)

Set myPath = myShape.Paths.Item(1)

'You can create new points as needed
    Set myPoint = myPath.PathPoints.Add
    myPoint.Anchor = Array(15, 15)

myShape.Place ("myImage.tif")

Roberto
Technical Details
Message-ID: <1de95de9.0@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de95de9.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,57bbf4780398067c
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-06-02 10:39:04 PST
From: "roberto soto" <roberto1soto@hotmail.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-01!sn-xit-09!supernews.com!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: N-sided polygons
Message-ID: <1de95de9.0@WebX.la2eafNXanI>
Date: Mon, 2 Jun 2003 10:14:44 -0700
References: <1de95de9.-1@WebX.la2eafNXanI>
Lines: 18
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit