Click or drag to resize

MapCtrlZoomToBoundingBox 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 given 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
public 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.

Implements

IMapZoomToBoundingBox(BoundingBox, MapBuffer)
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
See ZoomToBoundingBox(BoundingBox, MapBuffer) for further discussion of this method.
See Also