ArcObjects Library Reference (GeoAnalyst)  

ITransformationOp.Clip Method

Subsets a raster using a rectangle.

[Visual Basic .NET]
Public Function Clip ( _
    ByVal GeoDataset As IGeoDataset, _
    ByVal Rectangle As IEnvelope _
) As IGeoDataset
[C#]
public IGeoDataset Clip (
    IGeoDataset GeoDataset,
    IEnvelope Rectangle
);
[C++]
HRESULT Clip(
  IGeoDataset* GeoDataset,
  IEnvelope* Rectangle,
  IGeoDataset** outGeoDataset
);
[C++]

Parameters

GeoDataset [in]

  GeoDataset is a parameter of type IGeoDataset

Rectangle [in]

  Rectangle is a parameter of type IEnvelope

outGeoDataset [out, retval]

  outGeoDataset is a parameter of type IGeoDataset

Product Availability

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

Remarks

GeoDataset

an input Raster, RasterDataset, RasterBand, or RasterDescriptor

Rectangle

an IEnvelope identifying the lower-left and upper-right coordinates of the rectangle defining the area to be subset from the input GeoDatabase

The coordinates are specified in map units and are in the same units as the GeoDataset.

See Also

ITransformationOp Interface