ArcObjects Library Reference (DataSourcesRaster)  

IRasterDomainExtractor.ExtractDomain Method

Extracts the raster domain.

[Visual Basic .NET]
Public Function ExtractDomain ( _
    ByVal pRaster As IRaster, _
    ByVal bPixelCenterBased As Boolean _
) As IPolygon
[C#]
public IPolygon ExtractDomain (
    IRaster pRaster,
    bool bPixelCenterBased
);
[C++]
HRESULT ExtractDomain(
  IRaster* pRaster,
  VARIANT_BOOL bPixelCenterBased,
  IPolygon** domainPolygon
);
[C++]

Parameters

pRaster [in]

  pRaster is a parameter of type IRaster

bPixelCenterBased [in]   bPixelCenterBased is a parameter of type VARIANT_BOOL domainPolygon [out, retval]

  domainPolygon is a parameter of type IPolygon

Product Availability

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

See Also

IRasterDomainExtractor Interface