This document is archived and information here might be outdated. Recommended version. |
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**
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.