Previous Document Next Document

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


SubPath.Length

Property Length As Double

Description

Member of SubPath

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

The Length property returns a read-only value.

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.