PDA

View Full Version : Number of Shapes and Order



jasper7
04-25-2014, 07:24 AM
Sorry, not got my code handy

When you draw shapes onto a Map, so for instance I draw two large circles, then small circles in each.

Then using code, get a loop by using the shapecount.

How does the loop iterate through, by the sequeces of the drawings? By top to bottow, by colour lol

This determines if I have to rewrite the code, which would be complex.

Thanks

Steve

jasper7
04-25-2014, 09:22 AM
Just to add

I need to process the Large first, then the small next.

Would using layers work

Mattys Consulting
04-25-2014, 01:17 PM
MapPoint numbers the shapes according to the order you've added them.
Z-Order enumerates the layers from top to bottom.
If you need to process in a certain order, such as largest to smallest, you should create an array and sort by width or height.