Skip to main content

TdxFcObject.GetSelPoint(Integer,Integer) Method

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

Declaration

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

Parameters

Name Type
X Integer
Y Integer

Returns

Type
Integer

Remarks

A sizing handle ID is a value that ranges from 0 to 7 (inclusive) and corresponds the point’s relative position on the chart symbol’s bounding rectangle:

The GetSelPoint function determines which sizing handle of the chart symbol is nearest to the position whose coordinates are passed as the X and Y parameters.

To obtain an ID of the chart symbol’s anchor point in a similar manner, call the GetLinkedPoint function instead.

See Also