Autodesk.AutoCAD.DatabaseServices Namespace > Entity Class > Entity Methods > GetSubentityGeometricExtents Method
Entity.GetSubentityGeometricExtents Method   
Description

 

Retrieves the geometric extents for a subentity. 

Unimplemented at the Entity level, this method is intended to be overridden in derived classes. 

Derived classes should calculate and return the corner points (in WCS coordinates) of a box (with edges parallel to the WCS X, Y, and Z axes) that encloses the 3D extents of the subentity, and return those points as an instance of class Extents in the "extents" parameter.

Visual Basic
Public Function GetSubentityGeometricExtents(
    subPath As FullSubentityPath
) As Extents3d
C#
public Extents3d GetSubentityGeometricExtents(
    FullSubentityPath subPath
);
Parameters
Parameters 
Description 
FullSubentityPath subPath 
Input the path to the subentity 
Links
   Comments?