ANGLETOLOC function

Microsoft Office ShapeSheet

ANGLETOLOC function

See also

Returns a transformed angle in the destination shape's local coordinate system. It converts an angle from local coordinates in a source shape to the local coordinates in a destination shape. You can use the ANGLETOLOC function to set local angle cells in a shape in terms of an angle from another coordinate space.

Syntax

ANGLETOLOC(srcAngle, srcRef, dstRef)

srcAngle

An angle in the source coordinate system.

srcRef

A reference to a cell in the source object, such as a shape, group, page, and so on.

dstRef

A reference to a cell in the destination object, such as a shape, group, page, and so on.

Remarks

This function works even when the source and destination shapes are within groups. It also adjusts for rotation and flips in the intermediate transformation.

The source and destination coordinates must be on the same page.