Click or drag to resize

IBitmapImageFindDeSkewAngle Method (Int32)

Finds the de-skew angle for scanned document that is not straight. This method works best with 200 DPI images using 11 point font size. Providing a different DPI than actual can sometimes improve the accuracy of this method.

Namespace:  CohesiveComputing.Imaging
Assembly:  CohesiveComputing.BatchImagePro (in CohesiveComputing.BatchImagePro.dll) Version: 1.0.0
Syntax
C#
double FindDeSkewAngle(
	int dpi
)

Parameters

dpi
Type: SystemInt32
Image dots per inch.

Return Value

Type: Double
Deskew angle.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionArgument dpi must be between 50 and 1200 inclusive.
See Also