ANGLETOPAR Function

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

Syntax

ANGLETOPAR(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.

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.

If the destination is a page, which has no parent, the result is expressed in page's local coordinates.