Object Model Reference : Classes : S : Segment : Properties : Segment.Length |
Property Length As Double
Member of Segment
The Length property returns the length, in document units, of a segment.
The Length property returns a read-only value.
The following VBA example displays the length of the first segment of the selected curve.
Sub Test() |
MsgBox ActiveShape.Curve.Segments(1).Length |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.