ArcGIS Developer Help  (GeoDatabase)    

IGeoDataset.Extent Property

The extent of the GeoDataset.

[Visual Basic 6.0]
Property Extent As IEnvelope
[Visual Basic .NET]
Public ReadOnly Property Extent As IEnvelope
[C#]
public IEnvelope Extent {get;}
[Java]
public IEnvelope getExtent()
throws
    IOException,
    AutomationException
[C++]
HRESULT get_Extent(
  IEnvelope** Extent
);
[C++]

Parameters

Extent [out, retval]

  Extent is a parameter of type IEnvelope

Product Availability

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

Remarks

ESRI's GroupLayer implements this property differently from most other layer coclasses. When you instantiate a new GroupLayer, this property will return a valid envelope with zero height and width. With most other newly instantiated layers (for example FeatureLayer, RasterLayer, TinLayer), this property initally returns Nothing.

 

See Also

IGeoDataset Interface

 


Feedback Send feedback on this page