Previous Document Next Document
SubPath.Length

Property Length As Double

Member of SubPath

The Length property returns the length of a curve’s subpath. The Length property is measured in document units.

The Length property returns a read-only value.

The following code example uses the index value of two to identify the second 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 

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.