If you use one of these three methods:
- Set Style ... you will be able to specify certain styles to be used for the 
objects you create. Note that from MapInfo 7.0 (I think) MapInfo can 
differentiate between a pen for a line and for a region (orderPen/LinePen)
- you can use Alter Object <obj> Info OBJ_INFO_PEN, <new penstyle> to alter the 
style on an existing object
- you can when using Create Region specify the styles to be used

Peter Horsb�ll M�ller
GIS Developer
Geographical Information & IT
 
COWI A/S
Odensevej 95
DK-5260 Odense S.
Denmark
 
Tel     +45 6311 4900
Direct  +45 6311 4908
Mob     +45 5156 1045
Fax     +45 6311 4949
E-mail  [EMAIL PROTECTED]
http://www.cowi.dk/gis


-----Original Message-----
From: Uffe Kousgaard [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 27, 2005 8:57 AM
To: Mapinfo-L
Subject: Re: MI-L Region border style


Hi Dave,

I'm 99% sure it is the CurrentPen() command although the help file say it is 
only for (poly)lines. Have you tried it?

Kind regards

Uffe Kousgaard
www.routeware.dk


----- Original Message ----- 
From: "David Baker" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, January 27, 2005 2:05 AM
Subject: MI-L Region border style


I'm sure this is a very easy one, but I'm having brain fade!

How does one programmatically (in MapBasic) change the Border Style of a Region?

It doesn't appear to be under CurrentBrush() or CurrentPen().

I'm trying to create regions that have no border, but the default is a black 
border of 1 pixel width.

Thanks in advance,

Dave


---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com | To 
unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 15011



---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 15013

Reply via email to