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




In This Topic
    DetectOrient(Image) Method
    In This Topic
    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)
    public OCROrientationMode DetectOrient( 
       Image image
    )
    public: OCROrientationMode DetectOrient( 
       Image* image
    ) 
    public:
    OCROrientationMode DetectOrient( 
       Image^ 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