CorrectSkew Method of the ImageDocument Object
This method corrects the image skew. Skew can be corrected only for angles not greater than 20 degrees.
Important! All blocks must be removed from page layout before this method call. Call the ILayoutBlocks::DeleteAll method for each of the ILayout::Blocks, ILayout::BlackSeparators, ILayout::VisualBlocks collections of the corresponding layout.
Syntax
C++
HRESULT CorrectSkew();
C#
void CorrectSkew();
Visual Basic .NET
Sub CorrectSkew()
Return values
This method has no specific return values. It returns the standard return values of ABBYY FineReader Engine functions.
Remarks
You can also correct image skew during preprocessing by using the CorrectSkew property of the PagePreprocessingParams object.
See also
11/7/2025 12:48:30 PM