Back to Devexpress

TdxFcObject.GetSelPoint(Integer,Integer) Method

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

latest1.3 KB
Original Source

TdxFcObject.GetSelPoint(Integer,Integer) Method

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

Declaration

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

Parameters

NameType
XInteger
YInteger

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

TdxFcObject Class

TdxFcObject Members

dxflchrt Unit