Community of VE/MapPoint Users and Developers
This is a discussion on VB and Lines within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I have placed a series of lines on a map using the addline function. The default color is black, is ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| VB and Lines Many Regards, Milo
__________________ ========= Milo |
| ||||
|
Here are some samples that might help. Code: Set objmap = GetObject(,"MapPoint.Application").ActiveMap Set objShapes = objmap.Shapes For Each objshape In objShapes Select Case objshape.Type Case 9 objshape.Line.ForeColor = vbRed End select next Code: Set objmap = GetObject(,"MapPoint.Application").ActiveMap Set objShapes = objmap.Shapes For Each objshape In objShapes objshape.delete next
__________________ John http://www.support-pc.com Order MapPoint 2006 Here https://secure.mp2kmag.com/?refer=support-PC |
![]() |
| Tags |
| lines |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Custom Lines | TicK | MapPoint 2006/2009 Discussion | 3 | 12-16-2005 05:05 PM |
| Pushpins and lines | Anonymous | MapPoint 2006/2009 Discussion | 1 | 02-02-2005 03:44 AM |
| Getting pushpins in front of lines? | Anonymous | MapPoint 2006/2009 Discussion | 1 | 09-11-2004 01:48 AM |
| Contour Lines | Anonymous | Wish List | 2 | 06-30-2003 12:49 AM |
| Lines as pushpins | Anonymous | MapPoint 2006/2009 Discussion | 6 | 12-02-2002 10:15 AM |