SmartZone v7.2 - Updated
DetectOrient(Bitmap) Method




Accusoft.SmartZoneOCR.Net Assembly > Accusoft.SmartZoneOCRSdk Namespace > Reader Class > DetectOrient Method : DetectOrient(Bitmap) Method
The Bitmap to detect orientation
Detects the orientation of given image and returns OCROrientationMode of the result.
Syntax
'Declaration
 
Public Overloads Function DetectOrient( _
   ByVal bitmap As Bitmap _
) As OCROrientationMode
'Usage
 
Dim instance As Reader
Dim bitmap As Bitmap
Dim value As OCROrientationMode
 
value = instance.DetectOrient(bitmap)
public OCROrientationMode DetectOrient( 
   Bitmap bitmap
)
public: OCROrientationMode DetectOrient( 
   Bitmap* bitmap
) 
public:
OCROrientationMode DetectOrient( 
   Bitmap^ bitmap
) 

Parameters

bitmap
The Bitmap to detect orientation

Return Value

OCROrientationMode from detection
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.
Input parameter cannot be null.
See Also

Reference

Reader Class
Reader Members
Overload List

Is this page helpful?
Yes No
Thanks for your feedback.