Deskew example for Visual J++

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

LEAD1.Deskew();
LEAD1.ForceRepaint();