Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

MapControl.ZoomToRegion Method

Name Parameters Description
ZoomToRegion(CoordPoint, CoordPoint, Boolean, Double) p1, p2, roundZoomLevel, paddingFactor Zooms to the region by its top-left and bottom-right points, and specifies whether to apply an integer zoom level.
ZoomToRegion(CoordPoint, CoordPoint, Double) p1, p2, paddingFactor Zooms to the region described by its top left and bottom right points.
ZoomToRegion(MapBounds, Boolean, Double) bounds, roundZoomLevel, paddingFactor Zooms the map to the specified region. Allows you to specify whether to use an integer zoom level.
ZoomToRegion(MapBounds, Double) bounds, paddingFactor Zooms the map to the specified region.