ImageGear .NET v25.1 - Updated
Deskew Method (ImGearOCRImage)




ImageGear.OCR Assembly > ImageGear.OCR Namespace > ImGearOCRImage 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 MustOverride Sub Deskew( _
   ByVal slope As Integer _
) 
'Usage
 
Dim instance As ImGearOCRImage
Dim slope As Integer
 
instance.Deskew(slope)
public abstract void Deskew( 
   int slope
)
public: abstract void Deskew( 
   int slope
) 
public:
abstract 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

ImGearOCRImage Class
ImGearOCRImage Members