Is there a way to zoom in on an element without clicking it? I have a MapLayerImport function and would like to zoom in on an element based on its name. Is this possible?
Thanks
if you can find the mapelement in the collection that represents the element you want to zoom into (by name). Then you can try
theMap.WindowFit(element);
where theMap is a reference to the map control, and element is the element you want to zoom to.
-Graham