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