Model3DFormat.IncrementRotationX method (Word)
Changes the rotation of the specified shape around the x-axis by the specified number of degrees.
expression A variable that represents a Model3DFormat object.
|Increment||Required||Single||Specifies how much (in degrees) the rotation of the model around the x-axis is to be changed. Any value can be provided, although any value will be effectively normalized into the range 0..360 degrees.|
Use the RotationX property to set the absolute rotation of the shape around the x-axis.
This example tilts a 3D model on myDocument by 10 degrees. Shape one must be a 3D model for this code to have any effect.
Set myDocument = ActivePresentation.Slides(1) myDocument.Shapes(1).Model3D.IncrementRotationX 10
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.