RotationTypeEnum
RotationTypeEnum enumeration constants are used in several cases:
- to specify the angle, on which ABBYY FineReader Engine should rotate an image (IImageDocument::Transform, IPrepareImageMode::Rotation),
- to specify the angle, on which ABBYY FineReader Engine has rotated an image (IImageDocument::ImageRotation, IImageDocumentEvents::TransformationMade),
- to specify the orientation of a text (IImageProcessingParams::RotationType, ITextOrientation::RotationType).
typedef enum {
RT_UnknownRotation = -1,
RT_NoRotation,
RT_Clockwise,
RT_Counterclockwise,
RT_Upsidedown
} RotationTypeEnum;
Elements
Name | Description | ||
---|---|---|---|
RT_Clockwise | Rotate an image 90 degrees clockwise. | An image has been rotated 90 degrees clockwise. | Clockwise orientation (a text is rotated 90 degrees clockwise from normal orientation). |
RT_Counterclockwise | Rotate an image 90 degrees counterclockwise. | An image has been rotated 90 degrees counterclockwise. | Counterclockwise orientation (a text is rotated 90 degrees counterclockwise from normal orientation). |
RT_NoRotation | Do not rotate an image. | An image has not been rotated. | Normal orientation. |
RT_UnknownRotation | Cannot be used in this property or method. | The rotation angle is undefined. | Text orientation is undefined. The IImageProcessingParams::RotationType property cannot be set to this value. |
RT_Upsidedown | Rotate an image upside down. | An image has been rotated upside down. | Upside down orientation (a text is upside down from normal orientation). |
Used in
IImageProcessingParams::RotationType
03.07.2024 8:50:10