> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ImageProcessingTools オブジェクトの RotateImage メソッド

このメソッドは、画像を指定した角度だけ回転します。回転角度 (度単位) は分数で指定します。たとえば、分数 90/1 は 90 度、分数 360/6 は 60 度を表します。

## 構文

```vb Visual Basic .NET theme={null}
Function RotateImage( _
  Image As Image, _
  AngleNumerator As Integer, _
  AngleDenominator As Integer _
) As Image
```

```cpp C++ theme={null}
HRESULT RotateImage(
  IImage*  Image,
  int      AngleNumerator,
  int      AngleDenominator,
  IImage** Result
);
```

## パラメーター

**Image**

\[in] この変数は、前処理の対象となる [**Image**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/image.md) オブジェクトを参照します。

**AngleNumerator**

\[in] 回転角度を表す分数の分子を指定します。

**AngleDenominator**

\[in] 回転角度を表す分数の分母を指定します。

**Result**

\[out, retval] 出力画像にアクセスするための [**IImage**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/image.md)\*\*\*\*\* ポインター変数へのポインターです。

## 戻り値

このメソッドには固有の戻り値はありません。[ABBYY FlexiCapture SDK 関数の標準の戻り値](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/errorcodes.md)を返します。

## 関連項目

[**ImageProcessingTools**](https://docs.abbyy.com/ja/flexi-capture/sdk/api-reference/imageprocessingtools.md)
