Click or drag to resize

BalloonPushPinHitTest Method

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
On a given map, check whether the rectangular area occupied by this BalloonPushPin lies underneath the given x and y coordinates.

Namespace:  Telogis.GeoBase
Assembly:  geobase.net (in geobase.net.dll) Version: 4.99.0.0
Syntax
public IMapMouseHandler HitTest(
	int x,
	int y,
	IMap aMap
)

Parameters

x
Type: SystemInt32
An int x coordinate
y
Type: SystemInt32
An int y coordinate
aMap
Type: Telogis.GeoBaseIMap
The IMap on which the BalloonPushPin is located.

Return Value

Type: IMapMouseHandler
If there is a hit, returns this BalloonPushPin. If not a hit, returns null.

Implements

IMapMouseHandlerHitTest(Int32, Int32, IMap)
Exceptions
ExceptionCondition
ArgumentNullExceptionThrown if the aMap IMap is not found.
Remarks
This method is useful for determining if a BalloonPushPin has been clicked on. See HitTest(Int32, Int32, IMap) for more details, and MapMouseEventsHandler to register events.
See Also