This document is archived and information here might be outdated. Recommended version. |
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
);
[C++] Parameters pLayer [in]
pLayer is a parameter of type ILayer*