LastHit Method (INHitTest)
'Declaration
Function LastHit( _
ByVal As NPointF, _
ByVal As System.Integer, _
ByVal As INFilter, _
ByVal As NHitTestContext _
) As INNode
'Usage
Dim instance As INHitTest
Dim point As NPointF
Dim depth As System.Integer
Dim filter As INFilter
Dim context As NHitTestContext
Dim value As INNode
value = instance.LastHit(point, depth, filter, context)
INNode LastHit(
NPointF ,
System.int ,
INFilter ,
NHitTestContext
)
Parameters
- point
- point in device coordinates
- depth
- depth in which to traverse the tree or -1 if the entire subtree should be traversed
- filter
- filter to use. null value is equal to a constant true filter.
- context
- hit test context
Return Value
hit node, or null if there is not hit node
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2