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


ITransformationOp.Shift Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > GeoAnalyst > ESRI.ArcGIS.GeoAnalyst > Interfaces > IT > ITransformationOp Interface > ITransformationOp.Shift Method
ArcGIS Developer Help

ITransformationOp.Shift Method

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*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

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

See Also

ITransformationOp Interface