ArcObjects Library Reference (DataSourcesRaster)  

IRasterGeometryProc.Rotate Method

Rotates the input raster around the specified pivot by an angle specified in degrees.

[Visual Basic .NET]
Public Sub Rotate ( _
    ByVal pPivotPoint As IPoint, _
    ByVal rotateAngle As Double, _
    ByVal pRaster As IRaster _
)
[C#]
public void Rotate (
    IPoint pPivotPoint,
    double rotateAngle,
    IRaster pRaster
);
[C++]
HRESULT Rotate(
  IPoint* pPivotPoint,
  double rotateAngle,
  IRaster* pRaster
);
[C++]

Parameters

pPivotPoint [in]

  pPivotPoint is a parameter of type IPoint

rotateAngle [in]   rotateAngle is a parameter of type double pRaster [in]

  pRaster is a parameter of type IRaster

Product Availability

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

Remarks

The Rotate method rotates the raster by the angle input in degrees around the input pivot point, if specified. If no pivot point is specified, the raster is rotated around its center point. Positive rotateAngle rotates the raster counter-clockwise, while negative rotateAngle rotates the raster clockwise.

See Also

IRasterGeometryProc Interface