## Rotate(float) {#rotate}

Rotate original image.

```csharp
public static PreprocessingFilter Rotate(float angle)
```

| Parameter | Type | Description |
| --- | --- | --- |
| angle | Single | Angle of rotation.From -360 to 360 |

### Return Value

RotateFilter object.

### See Also

* class [PreprocessingFilter](../../preprocessingfilter)
* namespace [Aspose.OCR.Models.PreprocessingFilters](../../preprocessingfilter)
* assembly [Aspose.OCR](../../../)

---

## Rotate(float, Rectangle) {#rotate_1}

Rotate a part of the image.

```csharp
public static PreprocessingFilter Rotate(float angle, Rectangle area)
```

| Parameter | Type | Description |
| --- | --- | --- |
| angle | Single | Angle of rotation.From -360 to 360 |
| area | Rectangle | Coordinates of the part of the image to be corrected. |

### Return Value

RotateFilter object.

### See Also

* class [PreprocessingFilter](../../preprocessingfilter)
* namespace [Aspose.OCR.Models.PreprocessingFilters](../../preprocessingfilter)
* assembly [Aspose.OCR](../../../)

<!-- DO NOT EDIT: generated by xmldocmd for Aspose.OCR.dll -->
