The full or selected extent of a layer.
[Visual Basic .NET] Public Function get_OwnerExtent ( _ ByVal pOwner As Object, _ ByVal bSelectionOnly As Boolean _ ) As IEnvelope
[C#] public IEnvelope get_OwnerExtent ( object pOwner, bool bSelectionOnly );
[C++]
HRESULT get_OwnerExtent(
LPUNKNOWN pOwner,
VARIANT_BOOL bSelectionOnly,
IEnvelope** ppExtent
);
[C++]Parameters
pOwner [in] pOwner is a parameter of type LPUNKNOWN bSelectionOnly [in] bSelectionOnly is a parameter of type VARIANT_BOOL ppExtent [out, retval]ppExtent is a parameter of type IEnvelope
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.
Remarks
You can utilize the GetOwnerExtent method of the SceneGraph to return the extent of a layer which incorporates its 3D properties. This can be useful, for example, to determine the location of a layer which is draped on a surface.