This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > GeoAnalyst > ESRI.ArcGIS.GeoAnalyst > Interfaces > IT > ITransformationOp Interface > ITransformationOp.Shift Method (ArcObjects .NET 10.4 SDK) |
Shifts the coordinates of a raster.
[Visual Basic .NET] Public Function Shift ( _ ByVal GeoDataset As IGeoDataset, _ ByVal xShift As Double, _ ByVal yShift As Double, _ ByRef pSnapRasterData As Object _ ) As IGeoDataset
[C#] public IGeoDataset Shift ( IGeoDataset GeoDataset, double xShift, double yShift, ref object pSnapRasterData );
[C++]
HRESULT Shift(
IGeoDataset* GeoDataset,
double xShift,
double yShift,
VARIANT* pSnapRasterData,
IGeoDataset** outGeoDataset
);
[C++]
Parameters GeoDataset [in]
GeoDataset is a parameter of type IGeoDataset xShift [in] xShift is a parameter of type double yShift [in] yShift is a parameter of type double pSnapRasterData [in] pSnapRasterData is a parameter of type VARIANT outGeoDataset [out, retval]
outGeoDataset is a parameter of type IGeoDataset
GeoDataSet |
an input Raster, RasterDataset, RasterBand, or RasterDescriptor |
xShift |
The value to shift the x coordinates by. |
yShift |
The value to shift the y coordinates by. |
pSnapRasterData |
The input raster to snap cell alignment to |