Previous Document Next Document

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


SubPath.Closed

Property Closed As Boolean

Description

Member of SubPath

The Closed property returns or specifies whether a curve’s subpath is open or closed. If this property is set to True, the subpath is closed, and an enclosure is formed by connecting the path’s starting and ending points.

VBA example

The following VBA example closes all subpaths in the selected curve.

Sub Test()
 Dim spath As SubPath
 For Each spath In ActiveShape.Curve.Subpaths
  spath.Closed = True
 Next spath
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.