Share via


ThreeDFormat.IncrementRotationX Method

Changes the rotation of the specified shape around the x-axis by the specified number of degrees.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Sub IncrementRotationX ( _
    Increment As Single _
)
'Usage
Dim instance As ThreeDFormat
Dim Increment As Single

instance.IncrementRotationX(Increment)
void IncrementRotationX(
    float Increment
)

Parameters

  • Increment
    Type: System.Single
    Specifies how much (in degrees) the rotation of the shape around the x-axis is to be changed. Can be a value from –90 through 90. A positive value tilts the shape up; a negative value tilts it down.

Remarks

Use the RotationX property to set the absolute rotation of the shape around the x-axis.

You cannot adjust the rotation around the x-axis of the specified shape past the upper or lower limit for the RotationX property (90 degrees to –90 degrees). For example, if the RotationX property is initially set to 80 and you specify 40 for the Increment argument, the resulting rotation will be 90 (the upper limit for the RotationX property) instead of 120.

To change the rotation of a shape around the y-axis, use the IncrementRotationY(Single) method. To change the rotation around the z-axis, use the IncrementRotation(Single) method.

See Also

Reference

ThreeDFormat Interface

ThreeDFormat Members

Microsoft.Office.Interop.PowerPoint Namespace