Click or drag to resize

AutoDeskewCommandGetDeskewAngle Method

GetDeskewAngle returns the skew angle of the image without changing the image at all.

Namespace:  Atalasoft.Imaging.ImageProcessing.Document
Assembly:  Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public double GetDeskewAngle(
	AtalaImage sourceImage
)

Parameters

sourceImage
Type: Atalasoft.ImagingAtalaImage
The image to calculate the skew angle from.

Return Value

Type: Double
The skew angle (in degrees) of the image.

Return Value

Type: Double
The deskew angle in degrees.
Exceptions
ExceptionCondition
Thrown if the source image is not 1 bit per pixel.
Remarks
See the SkewAngle property for determining the skew angle after processing the image.
See Also