ImageGear .NET v24.12 - Updated
Deskew Method (ImGearRecImage)




ImageGear24.Recognition Assembly > ImageGear.Recognition Namespace > ImGearRecImage Class : Deskew Method
Integer slope value for deskewing. The value given here is the number of pixels of vertical ascent on 1000 horizontal pixels. That is, the tangent of the deskew angle multiplied by 1000. The slope parameter must be in the range -577 to 577; that means the maximal absolute slope value is 30 degrees. Specifying a positive value rotates the image counter clockwise.
Deskews the image.
Syntax
'Declaration
 
Public Sub Deskew( _
   ByVal slope As Integer _
) 
'Usage
 
Dim instance As ImGearRecImage
Dim slope As Integer
 
instance.Deskew(slope)
public void Deskew( 
   int slope
)
public: void Deskew( 
   int slope
) 
public:
void Deskew( 
   int slope
) 

Parameters

slope
Integer slope value for deskewing. The value given here is the number of pixels of vertical ascent on 1000 horizontal pixels. That is, the tangent of the deskew angle multiplied by 1000. The slope parameter must be in the range -577 to 577; that means the maximal absolute slope value is 30 degrees. Specifying a positive value rotates the image counter clockwise.
See Also

Reference

ImGearRecImage Class
ImGearRecImage Members