🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #19672

A frame for the image

#19672
From: pieterlaurens
Date: Fri, 29 Nov 2002 15:39
16 lines
1387 bytes
Is it possible to give an image a frame?

I've tried
setting a stroke for the image object
myImage.StrokeWeight = 0.2
it does not work... object doesn't support this object or method. (which seems a reasonable complaint as it is not in the reference...)

Also I've tried:

Set myRectangle = CurrentPage.Rectangles.Add
Set myRectangle.GeometricBounds = myImage.GeometricBounds
myRectangle.StrokeWeight = 0.2

Than VB is making trouble about the second rule where I set the Bounds of the rectangle to the values of the image bounds.

Why is this? I would appreciate a solution or an explanation.
Technical Details
Message-ID: <1de6ce19.-1@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-04!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!news-out.nuthinbutnews.com!propagator2-sterling!news-in-sterling.newsfeed.com!xmission!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,321b5970335d9db3,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2002-11-29 08:07:36 PST
From: pieterlaurens <depjotr@hotmail.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-04!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!news-out.nuthinbutnews.com!propagator2-sterling!news-in-sterling.newsfeed.com!xmission!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: A frame for the image
Message-ID: <1de6ce19.-1@WebX.la2eafNXanI>
Date: Fri, 29 Nov 2002 07:39:30 -0800
Lines: 18
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit