Previous Document Next Document

Object Model Reference : Classes : S : SubPath : Methods : SubPath.SetPosition


SubPath.SetPosition

Sub SetPosition(PositionX As Double, PositionY As Double)

Description

Member of SubPath

The SetPosition method sets the horizontal and vertical positions of a subpath head, treating the subpath as a separate object.

Parameter
Description
PositionX
Specifies, in document units, the x-coordinate of the subpath’s starting point
PositionY
Specifies, in document units, the y-coordinate of the subpath’s starting point

VBA example

The following VBA example sets the horizontal and vertical positions of the first subpath in the active curve.

Sub App()
 With ActiveShape.Curve.Subpaths(1)
  .SetPosition 4, 4
 End With
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.