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:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
void ZoomToBoundingBox(
	BoundingBox abox,
	MapBuffer buffer
)

Parameters

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