Corrects an image that is skewed.
Visual Basic |
---|
Public Sub Deskew( _ ByVal eDeskewType As enumDeskewType _ ) |
- eDeskewType
enumDeskewType enumeration that evaluates to the type of Deskew processing to perform.Value Description DESKEW_AdjustSize Image size grows or shrinks. DESKEW_Normal Normal (Default). DESKEW_Photo_Crop Special deskew routine specifically for color images. DESKEW_Preserve_Crop Image stays same size, rotated image is cropped to original dimensions. DESKEW_Preserve_PICResize Image stays same size, rotated image is resized to original dimensions using PICResize method. DESKEW_Preserve_Resample Image stays same size, rotated image is resized to original dimensions using a resample method. DESKEW_Preserve_Resize Image stays same size, rotated image is resized to original dimensions using Resize method.
Use this deskew method on images with bit depth greater than one.
For bitonal (1-bit) images, use DocumentDeskew.