GetBoundingBoxOutline

Outline? GetBoundingBoxOutline(this Element element, View? view = null)

Builds an Outline from the element's bounding box, or null if unavailable.

Parameters

  • elementElement

    The element to inspect.

  • viewView?

    Optional view context.

Returns: An Outline(min,max), or null if unavailable.

Example

Outline? outline = element.GetBoundingBoxOutline();