MapControl.ZoomToFit Method

Name Parameters Description
ZoomToFit(MapBounds, Double) bounds, paddingFactor Zooms a map to fit the area containing items sent as a parameter.
ZoomToFit(IEnumerable<MapItem>, Double) items, paddingFactor Zooms a map to fit the area containing items sent as a parameter.