> ## 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.

# RotationTypeEnum

RotationTypeEnum enumeration constants are used in several cases:

* to specify the angle on which ABBYY FineReader Engine should rotate an image ([IImageDocument::Transform](/fine-reader/engine/api-reference/image-related-objects/imagedocument/transform-method)),
* to specify the angle on which ABBYY FineReader Engine has rotated an image ([IImageDocument::ImageRotation](/fine-reader/engine/api-reference/image-related-objects/imagedocument#imagerotation), [IImageDocumentEvents::TransformationMade](/fine-reader/engine/api-reference/image-related-objects/iimagedocumentevents/transformationmade-method)),
* to specify the orientation of a text ([IImageProcessingParams::RotationType](/fine-reader/engine/api-reference/image-related-objects/imageprocessingparams#rotationtype), [ITextOrientation::RotationType](/fine-reader/engine/api-reference/text-related-objects/textorientation#rotationtype)).

```
typedef enum {
 RT_UnknownRotation = -1,
 RT_NoRotation,
 RT_Clockwise,
 RT_Counterclockwise,
 RT_Upsidedown
} RotationTypeEnum;
```

## Elements

<table><thead><tr><th rowspan="2"><p><strong>Name</strong></p></th><th colspan="3"><p><strong>Description</strong></p></th></tr><tr><th><p><strong><a href="/fine-reader/engine/api-reference/image-related-objects/imagedocument/transform-method">IImageDocument::Transform</a></strong></p></th><th><p><strong><a href="/fine-reader/engine/api-reference/image-related-objects/imagedocument#imagerotation">IImageDocument::ImageRotation</a></strong></p><p><strong><a href="/fine-reader/engine/api-reference/image-related-objects/iimagedocumentevents/transformationmade-method">IImageDocumentEvents::TransformationMade</a></strong></p></th><th><p><strong><a href="/fine-reader/engine/api-reference/image-related-objects/imageprocessingparams#rotationtype">IImageProcessingParams::RotationType</a></strong></p><p><strong><a href="/fine-reader/engine/api-reference/text-related-objects/textorientation#rotationtype">ITextOrientation::RotationType</a></strong></p></th></tr></thead><tbody><tr><td><p>RT\_Clockwise</p></td><td><p>Rotate an image 90 degrees clockwise.</p></td><td><p>An image has been rotated 90 degrees clockwise.</p></td><td><p>Clockwise orientation (a text is rotated 90 degrees clockwise from normal orientation).</p></td></tr><tr><td><p>RT\_Counterclockwise</p></td><td><p>Rotate an image 90 degrees counterclockwise.</p></td><td><p>An image has been rotated 90 degrees counterclockwise.</p></td><td><p>Counterclockwise orientation (a text is rotated 90 degrees counterclockwise from normal orientation).</p></td></tr><tr><td><p>RT\_NoRotation</p></td><td><p>Do not rotate an image.</p></td><td><p>An image has not been rotated.</p></td><td><p>Normal orientation.</p></td></tr><tr><td><p>RT\_UnknownRotation</p></td><td><p>Cannot be used in this property or method.</p></td><td><p>The rotation angle is undefined.</p></td><td><p>Text orientation is undefined. The <strong>IImageProcessingParams::RotationType</strong> property cannot be set to this value.</p></td></tr><tr><td><p>RT\_Upsidedown</p></td><td><p>Rotate an image upside down.</p></td><td><p>An image has been rotated upside down.</p></td><td><p>Upside down orientation (a text is upside down from normal orientation).</p></td></tr></tbody></table>

## Used in

[IImageProcessingParams::RotationType](/fine-reader/engine/api-reference/image-related-objects/imageprocessingparams#rotationtype)

[IImageDocument::Transform](/fine-reader/engine/api-reference/image-related-objects/imagedocument/transform-method)

[IImageDocument::ImageRotation](/fine-reader/engine/api-reference/image-related-objects/imagedocument#imagerotation)

[IImageDocumentEvents::TransformationMade](/fine-reader/engine/api-reference/image-related-objects/iimagedocumentevents/transformationmade-method)

[ITextOrientation::RotationType](/fine-reader/engine/api-reference/text-related-objects/textorientation#rotationtype)
