RotationEffect.To Property
PowerPoint Developer Reference |
Sets or returns a Single that represents the ending rotation of an object in degrees, specified relative to the screen (for example, 90 degrees is completely horizontal). Read/write.
Syntax
expression.To
expression A variable that represents a RotationEffect object.
Return Value
Single
Remarks
Use this property in conjunction with the From property to transition from one rotation angle to another.
The default value is Empty in which case the current position of the object is used.
Do not confuse this property with the ToX or ToY properties of the ScaleEffect and MotionEffect objects, which are only used for scaling or motion effects.
Example
The following example adds a rotation effect and immediately changes its rotation angle from 90 degrees to 270 degrees.
Visual Basic for Applications |
---|
|
See Also