This document is archived and information here might be outdated.  Recommended version.


IRasterCatalogTable.RasterExtent Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (DataSourcesRaster)  

IRasterCatalogTable.RasterExtent Property

Extent of the ith raster in the catalog.

[Visual Basic .NET]
Public Function get_RasterExtent ( _
    ByVal idx As Integer _
) As IEnvelope
[C#]
public IEnvelope get_RasterExtent (
    int idx
);
[C++]
HRESULT get_RasterExtent(
  long idx,
  IEnvelope** ppExtent
);
[C++]

Parameters idx [in] idx is a parameter of type long ppExtent [out, retval]
ppExtent is a parameter of type IEnvelope

Product Availability

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

Remarks

RasterCatalogTable created from raster catalog in file system and in the geodatabase has slightly different OIDs. The first starts from 0 and the later one starts from 1. To ensure your program work properly for both cases, pass OID, which can be obtained from IRasterCatalogTable::OID(index) to this property, instead of passing index directly.

See Also

IRasterCatalogTable Interface