Object Model Reference : Classes : S : SubPath : Properties : SubPath.Length |
Property Length As Double
Member of SubPath
The Length property returns the length, in document units, of a curves subpath.
The Length property returns a read-only value.
The following VBA example identifies the first subpath in the active shape. The length of this subpath, in document units, is displayed in a message box.
Sub App() |
MsgBox ActiveShape.Curve.Subpaths(1).Length |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.