Deskew method (Main Control)

Visual Basic example
Visual C++ 4.0 example

Access 2.0 example

Access 95, 97 example
Visual J++ example

Syntax short Deskew (OLE_COLOR crBack, long lFlags);

Overview:  Refer to Examining and Altering Bitmaps.

Remarks

(Document/Medical only) Rotates the bitmap to straighten it. This method typically is used to automatically straighten scanned images.

The calculated rotation is limited to 10 degrees in either direction. This method is intended for images, such as scanned documents, that are mainly horizontal lines of text. The results are unpredictable with other types of images.

This method supports 12 and 16-bit grayscale and 48 and 64-bit color images. Support for 12 and 16-bit grayscale images and 48 and 64-bit color images is available only in the Document/Medical toolkits.

See Also

Topics:  Raster Images: Doing Geometric Transformations