ImageGear for .NET
FindSkewAngle Method
Example 




Page to deskew.
Determines skew angle.
Syntax
'Declaration
 
Public Shared Function FindSkewAngle( _
   ByVal page As ImGearRasterPage _
) As Double
'Usage
 
Dim page As ImGearRasterPage
Dim value As Double
 
value = ImGearRasterProcessing.FindSkewAngle(page)
public static double FindSkewAngle( 
   ImGearRasterPage page
)
public: static double FindSkewAngle( 
   ImGearRasterPage* page
) 
public:
static double FindSkewAngle( 
   ImGearRasterPage^ page
) 

Parameters

page
Page to deskew.

Return Value

Example
// 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);
' 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

Reference

ImGearRasterProcessing Class
ImGearRasterProcessing Members

 

 


©2014. Accusoft Corporation. All Rights Reserved.

Send Feedback