2026 Method
Changes 0
M

ElementTransformUtils.RotateElement

Description:
Rotates an element about the given axis and angle.
public static void RotateElement(
	Document document,
	ElementId elementToRotate,
	Line axis,
	double angle
)
  • document
    The document that owns the elements.
  • elementToRotate
    The element to rotate.
  • axis
    The axis of rotation.
  • Double
    angle
    The angle of rotation in radians.