GetBoundingBoxTransform

Transform? GetBoundingBoxTransform(this Element element, View? view = null)

Gets the transform of the element's bounding box, or null if unavailable.

Parameters

  • elementElement

    The element to inspect.

  • viewView?

    Optional view context.

Returns: The BoundingBoxXYZ.Transform, or null if unavailable.

Example

Transform? t = element.GetBoundingBoxTransform();