Object Model Reference : Classes : E : EffectDistortion : Properties : EffectDistortion.OriginY |
Property OriginY As Double
Member of EffectDistortion
The OriginY property returns or specifies the y-coordinate of the point of origin of a distortion effect. The coordinate is relative to the center of the shape.
This property is measured in document units
The following VBA example applies a Zipper distortion to an ellipse and then moves the shapes center by 1" to the right.
Sub Test() |
Dim s As Shape |
Set s = ActiveLayer.CreateEllipse2(1, 1, 1) |
With s.CreateZipperDistortion(0, 0, 10, 6).Distortion |
.OriginX = 1 |
.OriginY = 0 |
End With |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.