RotationY Property.RotationY Property
Publisher Developer ReferencePublisher Developer Reference |
Returns or sets the rotation of the extruded shape around the y-axis, in degrees. Can be a value from – 90 through 90. A positive value indicates rotation to the left; a negative value indicates rotation to the right. Read/write Single.
Syntax
expression.RotationY
expression A variable that represents a RotationY Property object.
Return Value
Single
Remarks
To set the rotation of the extruded shape around the x-axis, use the RotationX property of the ThreeDFormat object. To set the rotation of the extruded shape around the z-axis, use the Rotation property of the Shape object. To change the direction of the extrusion's sweep path without rotating the front face of the extrusion, use the SetExtrusionDirection method.
Example
This example adds three identical extruded ovals to the active document and sets their rotation around the y-axis to – 30, 0, and 30 degrees, respectively.
Visual Basic for Applications |
---|
|
See Also