🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #19477

Re: Rectangle vs Rectangle Frame? [VB.Net]

#19477
From: Dave Saunders
Date: Tue, 10 Dec 2002 17:39
5 lines
1311 bytes
In the UI, setting the stroke to zero automatically causes the color to switch to zero, but this is a convenience built-into the UI and not a function of the object properties, so you must in the script do both: set the stroke weight to zero and the stroke color to swatch "None". I'm not sure of the VB syntax.

As for default settings for rectangles, I believe these are picked up from the UI. So, when making a rectangle by script, it is best to explicity set the stroke weight and color as you want them.

Dave
Technical Details
Message-ID: <1de6f2d6.0@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!64.152.100.70.MISMATCH!sjc70.webusenet.com!news.webusenet.com!newsfeed.news2me.com!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de6f2d6.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,673418816675b43f
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2002-12-10 10:08:22 PST
From: "Dave Saunders" <daves@pdsassoc.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!64.152.100.70.MISMATCH!sjc70.webusenet.com!news.webusenet.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: Rectangle vs Rectangle Frame? [VB.Net]
Message-ID: <1de6f2d6.0@WebX.la2eafNXanI>
Date: Tue, 10 Dec 2002 09:39:05 -0800
References: <1de6f2d6.-1@WebX.la2eafNXanI>
Lines: 11
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit