This document is archived and information here might be outdated.  Recommended version.


ISceneGraph.OwnerExtent Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (3DAnalyst)  

ISceneGraph.OwnerExtent Property

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 IUnknown bSelectionOnly [in]
bSelectionOnly is a parameter of type 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.

See Also

ISceneGraph Interface