MotionEffect.ToX Property
PowerPoint Developer Reference |
Sets or returns a Single that represents the horizontal position of a MotionEffect object, specified as a percent of the screen width. Read/write.
Syntax
expression.ToX
expression A variable that represents a MotionEffect object.
Return Value
Single
Remarks
The default value of this property is Empty, in which case the current position of the object is used.
Use this property in conjunction with the FromX property to resize or jump from one position to another.
Do not confuse this property with the To property of the ColorEffect , RotationEffect , or PropertyEffect objects, which is used to set or change colors, rotations, or other properties of an animation behavior, respectively.
Example
The following example adds an animation path and sets the starting and ending horizontal and vertical positions.
Visual Basic for Applications |
---|
|
See Also