This document is archived and information here might be outdated. Recommended version. |
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*
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. |