MGSymbolAttr.setRotation   Go to object model Go to parent topic Go to previous topic Go to next topic

Syntax

boolean setRotation(double rotation)

Description

Sets the rotation of the point.

Parameters

rotation - The rotation of the point in degrees; values can range from -360.0º to 360.0º.

Returns

boolean - Returns True if successful; otherwise, returns False.

Error Codes

-1 (busy)

-3 (illegal argument)

-17 (can't rotate symbols with bitmaps): The rotation angle cannot be non-zero because the current symbol contains one or more bitmaps.

See Also

getRotation, Rotation