ImageFile.DetectSkew Method |
Namespace: Kofax.OmniPageCSDK.IproPlus
The Slope is an output parameter that stores the skew of the page. The method returns the orientation of the page. It can be ROT_NO, ROT_RIGHT, ROT_DOWN or ROT_LEFT. To learn more about these values, see also the IMG_ROTATE Enumeration topic. To align the page to the proper position, use the returned values in conjunction with the Rotate and Deskew methods. If the Page optional Long parameter is unspecified or (-1), the first page is processed. Otherwise, the page defined by the Page index parameter is transformed.