ImageGear .NET v25.2 - Updated
ImageGear.OCR Assembly / ImageGear.OCR Namespace / ImGearOCRImage Class / Orient Method
Image rotation/orientation operation to be performed.




In This Topic
    Orient Method
    In This Topic
    Rotates and/or mirrors the image.
    Syntax
    'Declaration
     
    Public MustOverride Sub Orient( _
       ByVal orientation As ImGearOCROrientationMode _
    ) 
    'Usage
     
    Dim instance As ImGearOCRImage
    Dim orientation As ImGearOCROrientationMode
     
    instance.Orient(orientation)
    public abstract void Orient( 
       ImGearOCROrientationMode orientation
    )
    public: abstract void Orient( 
       ImGearOCROrientationMode orientation
    ) 
    public:
    abstract void Orient( 
       ImGearOCROrientationMode orientation
    ) 

    Parameters

    orientation
    Image rotation/orientation operation to be performed.
    Remarks
    This method immediately rotates and/or mirrors the image according to the specified orientation parameter.

    When this method is called, the coordinates of all defined zones in the zone list will be automatically recalculated, i.e., the zones are also rotated.

    An alternative to this method is the Preprocess method with the required OrientationMode property set.

    See Also