Community of MapPoint and Virtual Earth Users and Developers
This is a discussion on Could someone explain how item() works on shapes collection? within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I hope I not making this question is not too confusing...... I have a bunch of poly lines on a ...
| |||||||
| Today's Posts | Twitter Feed | Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Could someone explain how item() works on shapes collection? I have a bunch of poly lines on a map and I want to send some of them behind the roads. I have a location array defined as Dim objTestPoly(1 To 4) As MapPointCtl.Location I want some of the poly lines to go behind the roads and fill the polyline with yellow and as such I used the following code. objMap.Shapes.AddPolyline objTestPoly objMap.Shapes.Item(1).Fill.Visible = True objMap.Shapes.Item(1).Fill.ForeColor = vbYellow objMap.Shapes.Item(1).ZOrder geoSendBehindRoads objMap.Shapes.Item(2).ZOrder geoSendBehindRoads objMap.Shapes.Item(3).ZOrder geoSendBehindRoads objMap.Shapes.Item(4).ZOrder geoSendBehindRoads Some of them do not go behind the roads.... Can someone tell me when I am referencing item(1) am I referencing the 1st instance of the polyline or all the polylines? Could someone point me to a better definition of the Item reference within a shape collection? Thanks in advance for any help... |
![]() |
| Tags |
| collection, explain, item, shapes, works |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Advice Please... Access Code works but could be improved | I.T. | MapPoint 2006/2009 Discussion | 9 | 01-20-2008 01:13 PM |
| garbage collection | SimonPearse | MapPoint 2006/2009 Discussion | 6 | 01-05-2007 12:10 PM |
| Add item to right-click menus | Anonymous | MapPoint 2006/2009 Discussion | 0 | 07-02-2004 08:22 AM |
| can you explain MappointCtl | Anonymous | MapPoint 2006/2009 Discussion | 1 | 05-06-2004 09:51 AM |
| Export to Excel works from 'closed shapes'. Is i.... | Anonymous | MapPoint 2006/2009 Discussion | 1 | 03-04-2002 09:54 AM |
Taba Heights Holiday
Visit Egypt with your Taba Heights holiday. Book through UlookUbook and save!