ArcObjects Component Help  (Core)    

IGeoDataset Interface

Provides access to members that provide information about a Geographic Dataset.

Members

Description
Read-only property Extent The extent of the GeoDataset.
Read-only property SpatialReference The spatial reference of the GeoDataset.

CoClasses that implement IGeoDataset

CoClasses and Classes Description
CadAnnotationLayer An ESRI Cad annotation layer.
CadFeatureLayer ESRI CAD Feature Layer class.
CadLayer ESRI CAD Layer class.
CompositeGraphicsLayer A collection of graphics layers that behave like single layer.
CoverageAnnotationLayer An ESRI coverage annotation layer.
DimensionLayer A collection of proerties for a dimension layer.
FDOGraphicsLayer A FDO graphics layer.
FeatureClass FeatureClass Object.
FeatureClassDescriptor FeatureClass descriptor object.
FeatureDataset FeatureDataset Object.
FeatureLayer A collection of features and their visual representation.
GeometricNetwork ESRI Geometric Network object.
GraphicsLayer3D (esri3DExt) A 3D Graphics Layer.
GroupLayer A collection of layers that behaves like a single layer.
IMSMapLayer A container for the display and manipulation of IMS layers.
Raster An in-memory representation of a dynamic raster that can perform resampling and reprojection.
RasterBand A representation of a single band of a raster dataset on disk.
RasterCatalogLayer Raster catalog source and display options.
RasterCatalogTable A special type of table used to display multiple rasters simultaneously.
RasterDataset A representation of a raster dataset on disk.
RasterDescriptor Raster descriptor object.
RasterLayer Raster layer source and display options.
RouteEventSource Route event source object.
SearchResultsLayer A layer that lets you preview a search result in the Geography tab.
TemporalFeatureClass (TrackingAnalystLib) Controls settings for the temporal feature class.
TemporalFeatureLayer (TrackingAnalystLib) Defines the coclass IDL parameters and attributes of the TemporalFeatureLayer COM object.
Tin TIN.
Tin (esriTinExt) TIN.
TinLayer TIN Layer class.
Topology ESRI Topology Object.
TopologyLayer A collection of properties for a topology layer.
XYEventSource XY event source object.

Remarks

The IGeoDataset interface provides information about spatial datasets, in particular their spatial reference and geographic extent.
This code zooms to the extent of a layer:

Dim pGeoDataset As IGeoDataset
Set pGeoDataset = pLayer
pActiveView.Extent = pGeoDataset.Extent
pActiveView.Refresh

See Also

IEnvelope Interface