Back to Devexpress

TdxCustomOrgChart.GetNodeAt(Integer,Integer) Method

vcl-dxorgchr-dot-tdxcustomorgchart-dot-getnodeat-x28-system-dot-integer-system-dot-integer-x29.md

latest1.1 KB
Original Source

TdxCustomOrgChart.GetNodeAt(Integer,Integer) Method

Returns the node containing the specified point.

Declaration

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

Parameters

NameType
XInteger
YInteger

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

TdxCustomOrgChart.GetHitTestsAt

TdxCustomOrgChart Class

TdxCustomOrgChart Members

dxorgchr Unit