Click or drag to resize

IMapZoomToBoundingBox Method (BoundingBox, MapBuffer)

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
Zooms the map to display the specified bounding box with a separate buffer on each side.

Namespace:  Telogis.GeoBase
Assembly: (in Version:
void ZoomToBoundingBox(
	BoundingBox abox,
	MapBuffer buffer


Type: Telogis.GeoBaseBoundingBox
The BoundingBox to which to zoom.
Type: Telogis.GeoBaseMapBuffer
The buffer to place around each side of abox.
ArgumentOutOfRangeException Thrown when the buffer is larger in either dimension than the map, or when a side of the buffer has a negative value.
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 on each side. See MapBuffer for more detail.
See Also