Extensibility > Graphics Builder Automation Interface > Arrange and Position Functions > PositionRotate

PositionRotate

Rotates the last object addressed by 90 degrees clockwise.

Syntax

PositionRotate

Return Value

0 (zero) if successful, otherwise an error is returned.

Note: For details on handling return and error values, see Error Handling.

Related Functions

PositionAt, PositionMirrorVertical, PositionMirrorHorizontal, PositionSendToBack, PositionBringToFront, PositionBringForwards, PositionSendBackwards

Example

' Rotates an object 90 degrees
GraphicsBuilder.LibraryObjectPlace "include", "agitator", "agit_1_Pos1_g", 2, True
GraphicsBuilder.PositionAt 200, 200
GraphicsBuilder.PositionRotate

Published June 2018