This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > GeoAnalyst > ESRI.ArcGIS.GeoAnalyst > Interfaces > IT > ITransformationOp Interface > ITransformationOp.Clip Method (ArcObjects .NET 10.5 SDK) |
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
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. |