HitTest Method

Returns the cell at the specified location.

See Also | Example

Signature

object.HitTest(wpt, wviewVec, resultRowIndex, resultColumnIndex)

Object

Table
The object or objects this method applies to.

wpt

Variant
3D point in WCS specifying the input pick point.

wviewVec

Variant
3D vector in WCS specifying the view direction for the hit test.

resultRowIndex

Long
Row index of the selected cell.

resultColumnIndex

Long
Column index of the selected cell.

RetVal

Boolean

Remarks

This function performs a hit test by specifying a point and viewing direction. The cell hit by the ray is returned.

 

   Comments?