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

ShapeRange.IncrementLeft Method (Publisher)

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

Moves the specified shape or shape range horizontally by the specified distance.


expression. IncrementLeft( Increment)

_expression_A variable that represents a ShapeRange object.


NameRequired/OptionalData TypeDescription
IncrementRequiredVariantThe horizontal distance to move the shape or shape range. A positive value moves the shape or shape range to the right; a negative value moves it to the left. Numeric values are evaluated in points; strings can be in any units supported by Microsoft Publisher (for example, "2.5 in").

Return Value



Use the IncrementTop method to move shapes or shape ranges vertically.


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