This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IR > IRasterGeometryProc Interface > IRasterGeometryProc.Rotate Method (ArcObjects .NET 10.4 SDK) |
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
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.