TdxFcConnection.GetNearestPoint(Integer,Integer) Method
In This Article
Returns the nearest point relative to the specified point.
#Declaration
#Parameters
Name | Type |
---|---|
X | Integer |
Y | Integer |
#Returns
Type |
---|
Integer |
#Remarks
Call this function to obtain the index of the connection’s point that is the nearest to the point whose coordinates are passed as the X and Y parameters. The GetNearestPoint function value is equal to:
-1 if the specified point is near the source chart symbol;
The PointCount property value if a specific point is near the destination chart symbol.
See Also