ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.Data Namespace / CadDataset Class / GetExtent Method

    GetExtent Method (CadDataset)
    Gets an ArcGIS.Core.Geometry.Envelope representing the maximum extent of the data that has been stored in the CadDataset. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public Envelope GetExtent()

    Return Value

    An ArcGIS.Core.Geometry.Envelope representing the maximum extent of the data that has been stored in the CadDataset.
    Exceptions
    ExceptionDescription
    A geodatabase-related exception has occurred.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    ArcGIS Pro version: 2.9 or higher.
    See Also