Click or drag to resize

ImageDeskew Method

This method de-skews a page based on the Slope parameter.

Namespace:  Kofax.OmniPageCSDK.IproPlus
Assembly:  Kofax.OmniPageCSDK.IproPlus (in Kofax.OmniPageCSDK.IproPlus.dll) Version: 1.0.0.0
Syntax
public void Deskew(
	int Slope
)

Parameters

Slope
Type: SystemInt32
Remarks

The slope is specified as is the number of pixels of vertical ascent for each 1000 horizontal pixels. In other words, it is the Tangent of the skew angle multiplied by 1000. The Slope parameter can be between -577 and 577.

Note that calling this method clears any existing recognition results. The OCRZones and Characters collections are cleared. The CharNum, WordNum, RejectedCharNum, RecognitionTime and FullRecognitionTime properties of the Statistics object are set to zero, the Recognized property of the Page object is set to False. This method de-skews all the stored image variants.

Calling this method sets the Modified property of the related Document to True.

See Also