Community of VE/MapPoint Users and Developers
This is a discussion on Shape.addLine(loc1, loc2) -> How 2 Change size of line ?? within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hi all... I find the lines too wide and would like to make them thin... Here's my very little portion ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Shape.addLine(loc1, loc2) -> How 2 Change size of line ?? I find the lines too wide and would like to make them thin... Here's my very little portion of code : if(i>0) mpmap.Shapes.AddLine(mploc[i-1], mploc[i]); thanks |
| ||||
|
Hope this sample helps you. Code: Dim objmap As MapPointCtl.Map
Set objmap = MappointControl1.ActiveMap
Dim ashape As MapPointCtl.Shape
Dim aLocation1 As MapPointCtl.Location
Dim aLocation2 As MapPointCtl.Location
Set aLocation1 = objmap.FindResults("New York, NY").Item(1)
Set aLocation2 = objmap.FindResults("Atlanta, GA").Item(1)
Set ashape = objmap.Shapes.AddLine(aLocation1, aLocation2)
ashape.Line.Weight = 1
__________________ John http://www.support-pc.com Order MapPoint 2006 Here https://secure.mp2kmag.com/?refer=support-PC |
| ||||
|
I new you could convert it 8)
__________________ John http://www.support-pc.com Order MapPoint 2006 Here https://secure.mp2kmag.com/?refer=support-PC |
![]() |
| Tags |
| >, change, line, loc2, shapeaddlineloc1, size |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to change default map size? | mpguy | MapPoint 2006/2009 Discussion | 1 | 08-13-2005 02:45 AM |
| How to change the size of the sized circles | Anonymous | MapPoint 2006/2009 Discussion | 0 | 11-10-2004 04:54 AM |
| Don't want radius shape to increase it's size when I zoom In | Anonymous | MapPoint 2006/2009 Discussion | 1 | 06-07-2004 05:58 PM |
| How can I change charts size? | julior | MapPoint 2006/2009 Discussion | 0 | 03-12-2004 05:22 AM |
| PLEASE HELP: Change font and size of the chart | Anonymous | MapPoint 2006/2009 Discussion | 0 | 04-07-2003 05:55 AM |