Search
FlowChart.ObjectFromPoint Method
See Also
 



Finds the topmost node that contains the specified point.

 Syntax

VB6  Copy Code

Public Function ObjectFromPoint( _
    ByVal x As Long, _
    ByVal y As Long, _
    ByVal excludeLocked As Boolean, _
    ByVal excludeSelected As Boolean _
) As Object

C++  Copy Code

public:
IDispatch* ObjectFromPoint (
    int x,
    int y,
    bool excludeLocked,
    bool excludeSelected
)

 Parameters

x
The x coordinate of a document point.
y
The y coordinate of a document point.
excludeLocked
Specifies whether to skip locked objects.
excludeSelected
Specifies whether to skip selected objects.

 Return Value

A reference to a box or a table.

 Remarks

Finds a box or a table containing the (x, y) point passed as parameter. The highest object in the Z-order is returned, unless it is locked and/or selected and the respective exclude parameter is true.

 See Also