Table of contents
Collapse the table of content
Expand the table of content

Shape.IncrementRotation Method (Publisher)

office 365 dev account|Last Updated: 8/24/2017
3 Contributors

Changes the rotation of the specified shape around the z-axis (extends outward from the plane of the publication) by the specified number of degrees.


expression. IncrementRotation( Increment)

_expression_A variable that represents a Shape object.


NameRequired/OptionalData TypeDescription
IncrementRequiredSingleSpecifies how far the shape is to be rotated around the z-axis, in degrees. A positive value rotates the shape clockwise; a negative value rotates it counterclockwise. Valid values are between - 360 and 360.

Return Value



Use the Rotation property to set the absolute rotation of the shape.

To rotate a three-dimensional shape around the x-axis (horizontal) or the y-axis (vertical), use the IncrementRotationX method or the IncrementRotationY method, respectively.


This example duplicates the first shape on the active publication, sets the fill for the duplicate, moves it 70 points to the right and 50 points up, and rotates it 30 degrees clockwise.

With ActiveDocument.Pages(1).Shapes(1).Duplicate 
 .Fill.PresetTextured PresetTexture:=msoTextureGranite 
 .IncrementLeft Increment:=70 
 .IncrementTop Increment:=-50 
 .IncrementRotation Increment:=30 
End With
© 2018 Microsoft