Skip to main content

TdxFcObject.GetLinkedPoint(Integer,Integer) Method

Returns an ID of the chart symbol’s anchor point that is nearest to the specified position.

Declaration

function GetLinkedPoint(X: Integer; Y: Integer): Integer;

Parameters

Name Type
X Integer
Y Integer

Returns

Type
Integer

Remarks

An anchor point ID is a value that ranges from 0 to 15 (inclusive) and corresponds to the point’s relative position on the chart symbol’s shape outline:

The GetLinkedPoint function determines whose anchor point of the chart symbol is nearest to the position whose coordinates are passed as the X and Y parameters.

The control‘s CreateConnection function uses anchor point IDs to determine the actual start and end points of a newly created connection between two chart symbols.

To obtain an ID of the chart symbol’s sizing handle in a similar manner, call the GetSelPoint function instead.

See Also