View Single Post

  #7 (permalink)  
Old 12-11-2003
Anonymous Anonymous is offline
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
I need to change the color and thickness of the line that I just added to the map. How can I do it? The following code does not work because nothing has been selected. Thanks.

'Add a Line from one location to the other
objmap.Shapes.AddLine objloc0, objloc1

Set objshape = objmap.Selection
objshape.line.ForeColor = color
objshape.line.Weight = 1
Reply With Quote