Available in LEADTOOLS Document and Medical Imaging toolkits.
Deskew example for Visual Basic
This example automatically straightens the bitmap and repaints the image. The image to be straightened should be mainly text.
Lead1.Deskew vbGreenLead1.ForceRepaint