SmartZone v8.0 - Updated January 12, 2025
Accusoft.SmartZoneOCR.Net Assembly / Accusoft.SmartZoneOCRSdk Namespace / Reader Class / DetectOrient Method / DetectOrient(Image) Method
The Inage object.




DetectOrient(Image) Method
Detects the orientation of the given image.
Syntax
'Declaration
 
Public Overloads Function DetectOrient( _
   ByVal image As Image _
) As OCROrientationMode
 
'Usage
 
Dim instance As Reader
Dim image As Image
Dim value As OCROrientationMode
 
value = instance.DetectOrient(image)

Parameters

image
The Inage object.

Return Value

OCROrientationMode of the result.
Exceptions
ExceptionDescription
Supported bit depths are 1-, 8-, 24- and 32-bits per pixel.
The image data cannot be read for format reasons other than an unsupported bit depth.
An invalid license is being used.
An area coordinate is outside the current image.
The stream cannot be null.
See Also