Deskew example for Visual Basic

Note: Also works with Access 95 and 97.

This example automatically straightens the bitmap and repaints the image. The image to be straightened should be mainly text.

Lead1.Deskew vbGreenLead1.ForceRepaint