AnnotationMultipleAlignmentUtilsMoveWithAnchoredLeaders Method

Moves the element while keeping the leader end points anchored.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public static void MoveWithAnchoredLeaders(
	Element element,
	XYZ moveVec
)

Parameters

element  Element
The element to be moved.
moveVec  XYZ
The move vector for translating the element.
Exceptions
ExceptionCondition
ArgumentException The element element does not support multiple alignment behavior.
ArgumentNullException A non-optional argument was null
InvalidOperationException Failed to move element.
See Also