A newer version of this page is available. Switch to the current version.

MapControl.ZoomToFitLayerItems Method

Name Parameters Description
ZoomToFitLayerItems(IEnumerable<LayerBase>, Double) layers, paddingFactor Zooms a map to fit items contained in the specified set of LayerBase class descendant objects.
ZoomToFitLayerItems(Double) paddingFactor Zooms a map to fit items contained in all layers of the map.