GetLinkPoint

<< Click to Display Table of Contents >>

Navigation:  TMyShape > Methods >

GetLinkPoint

function GetLinkPoint(PointID: integer): TMyPoint;

 

Description

 

Get the shape's link point by PointId.

 

Parameter:

 

 PointID : the point id of the link point that you will retrieve.        

      it is PointId>=0 and PointId<= GetLInkPointsCount-1  

 

Returns:  

 

  the link point.

 

Example:

 

Get the first link point of a shape.

 

 

IF AShape.GetLinkPointsCount >0 THEN  

        APoint:=AShape.GetLinkPoint(0);