ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / IElement Interface / GetBounds Method
True to retrieve the rotated bounds
Version

GetBounds Method (IElement)
Gets the bounding box for the element. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
Envelope GetBounds( 
   bool rotated
)

Parameters

rotated
True to retrieve the rotated bounds

Return Value

Exceptions
ExceptionDescription
This method must be called within the lambda passed to QueuedTask.Run.
Remarks
Bounds always reflect the element extent in a non-rotated orientation. If element rotation is non-zero, use graphicBounds = true to return the minimum bounding box enclosing the element in its rotated position
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also