This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > GlobeCore > ESRI.ArcGIS.GlobeCore > Interfaces > IG > IGlobeLayerProperties4 Interface > IGlobeLayerProperties4.GetExtent Method (ArcObjects .NET 10.5 SDK) |
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