ANGLETOLOC Function

Office 2013 and later

Last modified: March 09, 2015

Applies to: Office 2013 | Visio 2013

Returns a transformed angle in the destination shape's local coordinate system. Converts an angle from local coordinates in a source shape to the local coordinates in a destination shape.

ANGLETOLOC(srcAngle, srcRef, dstRef)

Parameters

Name

Required/Optional

Data Type

Description

srcAngle

Required

Numeric

An angle in the source coordinate system.

srcRef

Required

String

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

dstRef

Required

String

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

You can use the ANGLETOLOC function to set local angle cells in a shape in terms of an angle from another coordinate space.

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.

Show: