ImageGear .NET v24.12 - Updated
Orient Method




ImageGear24.Recognition Assembly > ImageGear.Recognition Namespace > ImGearRecImage Class : Orient Method
Image rotation/orientation operation to be performed.
Rotates and/or mirrors the image.
Syntax
'Declaration
 
Public Sub Orient( _
   ByVal orientation As ImGearRecOrientationMode _
) 
'Usage
 
Dim instance As ImGearRecImage
Dim orientation As ImGearRecOrientationMode
 
instance.Orient(orientation)
public void Orient( 
   ImGearRecOrientationMode orientation
)
public: void Orient( 
   ImGearRecOrientationMode orientation
) 
public:
void Orient( 
   ImGearRecOrientationMode 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

Reference

ImGearRecImage Class
ImGearRecImage Members
ImGearRecOrientationMode Enumeration