IMapZoomToBoundingBox Method (BoundingBox, Int32) | |
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Namespace:
Telogis.GeoBase
Assembly:
geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax void ZoomToBoundingBox(
BoundingBox abox,
int buffer
)
Sub ZoomToBoundingBox (
abox As BoundingBox,
buffer As Integer
)
Parameters
- abox
- Type: Telogis.GeoBaseBoundingBox
The BoundingBox on which to center and zoom. - buffer
- Type: SystemInt32
The number of pixels between the edge of abox and the edge of the visible map area. See remarks.
Exceptions Remarks
Use to zoom the map to display the area of the given
BoundingBox.
Use the
buffer parameter to set the number of pixels by which
abox is
inside the resulting visible map area. For example, setting
buffer to 10 results
in a map where the edges of
abox are 10 pixels in from the edge of the map.
See Also