Search
FlowChart.GetBoxAt Method
See Also
 



Finds the topmost box containing the specified point.

 Syntax

VB6  Copy Code

Public Function GetBoxAt( _
    ByVal docX As Long, _
    ByVal docY As Long _
) As Box

C++  Copy Code

public:
Box* GetBoxAt (
    int docX,
    int docY
)

 Parameters

docX
The x coordinate of a document point.
docY
The y coordinate of a document point.

 Return Value

The Box object found; null (Nothing in Visual Basic) if no box is found at the specified location.

 Remarks

Looks for a box at the specified document location. If there are more than one boxes at that point, the box that is highest in the Z order is returned.

 See Also