Skip to main content

TdxCustomOrgChart.GetNodeAt(Integer,Integer) Method

Returns the node containing the specified point.

Declaration

function GetNodeAt(X: Integer; Y: Integer): TdxOcNode;

Parameters

Name Type
X Integer
Y Integer

Returns

Type
TdxOcNode

Remarks

Call this function to return the node that includes a point whose coordinates within the control’s client area are passed as the X and Y parameters. If the specified point does not belong to a node, the GetNodeAt function returns nil.

See Also