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


ITransformationOp.Rotate 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.Rotate Method
ArcGIS Developer Help

ITransformationOp.Rotate Method

Rotates a raster around a point by a specified angle.

[Visual Basic .NET]
Public Function Rotate ( _
    ByVal GeoDataset As IGeoDataset, _
    ByVal resampleType As esriGeoAnalysisResampleEnum, _
    ByVal angle As Double, _
    [ByRef origin As Object] _
) As IGeoDataset
[C#]
public IGeoDataset Rotate (
    IGeoDataset GeoDataset,
    esriGeoAnalysisResampleEnum resampleType,
    double angle,
    ref object origin
);
[C++]
HRESULT Rotate(
  IGeoDataset* GeoDataset,
  esriGeoAnalysisResampleEnum resampleType,
  double angle,
  Variant* origin
);
[C++]
Parameters
GeoDataset [in]

GeoDataset is a parameter of type IGeoDataset* resampleType [in]
resampleType is a parameter of type esriGeoAnalysisResampleEnum angle [in]
angle is a parameter of type double origin [in, optional]
origin 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

resampleType

an esriGeoAnalysisResampleEnum specifing the resampling algorithm to be used when sampling a Raster

can be of type:

esriGeoAnalysisResampleBilinear - bilinear interpolation. This is Default.

esriGeoAnalysisResampleCubic - cubic convolution.

esriGeoAnalysisResampleNearest - nearest neighbor assignment.

angle 

The angle in degrees to rotate the raster. This can be any floating-point number.

[origin]

The pivot point to rotate the raster around.

The default is the lower left corner of input GeoDataset

See Also

ITransformationOp Interface