SmartZone v7.2 - Updated
DetectOrient(IntPtr) Method




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

Parameters

handle
The HBitmap or HDib 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.