Back to Devexpress

TdxFcObject.GetLinkedPoint(Integer,Integer) Method

vcl-dxflchrt-dot-tdxfcobject-dot-getlinkedpoint-x28-system-dot-integer-system-dot-integer-x29.md

latest1.6 KB
Original Source

TdxFcObject.GetLinkedPoint(Integer,Integer) Method

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

Declaration

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

Parameters

NameType
XInteger
YInteger

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

TdxFcObject Class

TdxFcObject Members

dxflchrt Unit