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


ITransformationOp.Clip Method (ArcObjects .NET 10.6 SDK)
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
);
[C++]

Parameters GeoDataset [in]
GeoDataset is a parameter of type IGeoDataset* Rectangle [in]
Rectangle is a parameter of type IEnvelope*

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