![]()  | 
                    
                         This document is archived and information here might be outdated. Recommended version.  | 
                
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
);
[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*
| 
 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  |