MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




How to determine the length of Shape.vertices in Delphi?

This is a discussion on How to determine the length of Shape.vertices in Delphi? within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; I have a map on which polylines are drawn. Using Delphi, I want to export the indivual points of each ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read



Click here to register

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-13-2002
Junior Member
White Belt
 
Join Date: Nov 2002
Posts: 10
How to determine the length of Shape.vertices in Delphi?

I have a map on which polylines are drawn. Using Delphi, I want to export the indivual points of each poyline, but I can't seem to find a way to determine the length of the vertices array.
Using length(MyShape.vertices) is not possible and when I try to access an item that is out-of-bounds, I get an EVariantBadIndexError exception. Trying to catch this does not help either. Does anyone have a solution?

Thanks,
Pascal
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
delphi, determine, length, shapevertices


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
MappointControl OpenMap filename string length limitation malejo MapPoint 2006/2009 Discussion 1 07-02-2005 03:55 AM
Determine if a shape is behind roads? Anonymous MapPoint 2006/2009 Discussion 0 03-30-2005 11:15 AM
How to get the Locations for the 4 vertices of a Square? cx123 MapPoint 2006/2009 Discussion 0 10-26-2004 11:01 AM
Vertices and VB.Net alon MapPoint 2006/2009 Discussion 2 08-26-2004 03:12 AM
I have a need to find a whole length of a road is .... Anonymous MapPoint 2006/2009 Discussion 1 09-12-2001 04:53 AM


All times are GMT -5. The time now is 03:56 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54