Object Model Reference : Classes : S : SubPath : Properties : SubPath.PositionY |
Property PositionY As Double
Member of SubPath
The PositionY property returns or specifies the vertical position, or y-coordinate, of a subpaths starting point, treating the subpath as a separate object. The position is relative to the reference point specified by the Document.ReferencePoint property.
The following VBA example aligns all subpaths vertically so that their top sides are 3 document units from the bottom of the page:
Sub Test() |
Dim sp As SubPath |
ActiveDocument.ReferencePoint = cdrTopLeft |
For Each sp In ActiveShape.Curve.Subpaths |
sp.PositionY = 3 |
Next sp |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.