ArcObjects Library Reference (GlobeCore)  

IGlobeLayerProperties5.GetExtent Method

Calculate the extent of the layer, including elevation.

[Visual Basic .NET]
Public Function GetExtent ( _
    ByVal pLayer As ILayer _
) As IEnvelope
[C#]
public IEnvelope GetExtent (
    ILayer pLayer
);
[C++]
HRESULT GetExtent(
  ILayer* pLayer,
  IEnvelope** pExtent
);
[C++]

Parameters

pLayer [in]

  pLayer is a parameter of type ILayer

pExtent [out, retval]

  pExtent is a parameter of type IEnvelope

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IGlobeLayerProperties5 Interface