Previous Document Next Document

Object Model Reference : Classes : S : Segment : Properties : Segment.Length


Segment.Length

Property Length As Double

Description

Member of Segment

The Length property returns the length, in document units, of a segment.

The Length property returns a read-only value.

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.