hi every one
i have 856 Polygon in table , and now must be displayed to the user
how can i find the best Coordinate of 856 and set Map CurrentExtent ??
thanks
How can i find and set Map CurrentExtent
Hi Alireza,
Please choose one feature layer suit your data source, then call
featurelayer.Open()
featureLayer.GetBoundingBox()
You can get its extent here.
If you want to adjust it manual, please use the event ExtentChanged for map, and when you pan/zoom to a suitable extent, you can add breakpoint in this event or debug the current extent, then record it.
Regards,
Don
thank you
Hi Alireza,
You’re welcome.
Regards,
Don