Object Model Reference : Classes : S : SubPath : Properties : SubPath.Closed |
Property Closed As Boolean
Member of SubPath
The Closed property returns or specifies whether a curves subpath is open or closed. If this property is set to True, the subpath is closed, and an enclosure is formed by connecting the paths starting and ending points.
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 |
Copyright 2013 Corel Corporation. All rights reserved.