Back to Devexpress

MapControl.ZoomToFitLayerItems Method

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

latest1.8 KB
Original Source

MapControl.ZoomToFitLayerItems Method

NameParametersDescription
ZoomToFitLayerItems()noneZooms the map to fit items contained by the MapControl.Layers property.
ZoomToFitLayerItems(Boolean)roundZoomLevelZooms the map to fit items that all map layers contain.
ZoomToFitLayerItems(IEnumerable<LayerBase>, Double, Boolean)layers, paddingFactor, roundZoomLevelZooms the map to fit items contained in the layers passed in the method parameters.
ZoomToFitLayerItems(IEnumerable<LayerBase>, Double)layers, paddingFactorZooms the map to fit items contained in the specified set of LayerBase class descendant objects.
ZoomToFitLayerItems(IEnumerable<LayerBase>)layersZooms the map to fit items contained in the specified set of LayerBase class descendant objects.
ZoomToFitLayerItems(Double)paddingFactorZooms the map to fit items contained by the MapControl.Layers property.