ImageGear for .NET
FindSkewAngle Method
See Also  Example Send Feedback
ImageGear21.Core Assembly > ImageGear.Processing Namespace > ImGearRasterProcessing Class : FindSkewAngle Method




page
Page to deskew.

Glossary Item Box

Determines skew angle.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

page
Page to deskew.

Return Value

ImageGear.Core.ImGearRasterPage class object.

Example

C#Copy Code
// Find the skew angle of an image.
double angle = ImGearRasterProcessing.FindSkewAngle(igRasterPage);

// Rotate image by the found skew angle.
ImGearProcessing.Rotate(igRasterPage, angle, ImGearRotationModes.CLIP, null);
Visual BasicCopy Code
' Find the skew angle of an image.
Dim angle As Double = ImGearRasterProcessing.FindSkewAngle(igRasterPage)

' Rotate image by the found skew angle.
ImGearProcessing.Rotate(igRasterPage, angle, ImGearRotationModes.CLIP, Nothing)

See Also

©2013. Accusoft Corporation. All Rights Reserved.