Back to Devexpress

MapControl.ZoomToFit Method

windowsforms-devexpress-dot-xtramap-dot-mapcontrol-dot-zoomtofit.md

latest1.0 KB
Original Source

MapControl.ZoomToFit Method

NameParametersDescription
ZoomToFit(IEnumerable<MapItem>, Double, Boolean)items, paddingFactor, roundZoomLevelZooms the map based on a specified padding factor to allow the map viewport to display all items passed in parameters. Allows you to set whether the map should use a non-negative integer zoom level.
ZoomToFit(IEnumerable<MapItem>, Double)items, paddingFactorZooms the map to fit the area that contains items sent as a parameter.
ZoomToFit(IEnumerable<MapItem>)itemsZooms the map to fit the area containing items sent as parameter.