Scope: Schematic editor
Object: Line Object
Prerequisites: None
Returns the coordinates of the specified Point Object.
Line point indexes are 0 based. That is, the first point in a line is point 0, the second is point 1, and so on.
Line.GetPoint(ByVal PointNumber As Long) As IVdPoint
Specifies the line point (0 through n) for which to derive the coordinates.
As IVdPoint. The Point Object.
A line may contain many points. Use this method to index each point.
Show all points.
For Index=0 To Line.GetNumPoints()-1
Set Pt=GetPoint(Index)
MsgBox "X=" & Pt.X & " Y=" & Pt.Y
Next