API.Extents (Object) Method

Calculates a bounding box of the entity. If entity is null a bounding box of all entites in the drawing is calculated
Public Shared Function Extents( _ 
Optional ByVal entity As Object = null _ 
) As Extents2d
This language is not supported or no code example is available.
public static Extents2d Extents( 
object entity = null 
)
This language is not supported or no code example is available.
public:  
static Extents2d^ Extents( 
object^ entity 
)
This language is not supported or no code example is available.
public static function Extents( 
entity : object 
) : Extents2d;
This language is not supported or no code example is available.

Parameters

entity
object

Entity or null

Return Value

Extents2d

A bounding box

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition