跳转到主要内容
此方法用于校正图像倾斜。只有倾斜角不超过 20 度时才能进行校正。
调用此方法前,必须先从页面布局中删除所有块。请对相应布局的 ILayout::BlocksILayout::BlackSeparators 以及 ILayout::VisualBlocks (Win) 集合调用 ILayoutBlocks::DeleteAll 方法。

语法

C++

HRESULT CorrectSkew();

C#

void CorrectSkew();

Visual Basic .NET

Sub CorrectSkew()

返回值

此方法没有特定的返回值。它会返回 ABBYY FineReader Engine 函数的标准返回值

备注

您还可以在预处理时使用 PagePreprocessingParams 对象的 CorrectSkew 属性来校正图像倾斜。

另请参阅

ImageDocument PagePreprocessingParams