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




page
Image to deskew.
angleThresh
Deskew angle.
mode
Deskew mode.
backgroundColor
Background color.

Glossary Item Box

Deskews an image page.

Syntax

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

Parameters

page
Image to deskew.
angleThresh
Deskew angle.
mode
Deskew mode.
backgroundColor
Background color.

Example

C#Copy Code
// Deskew an image if it is skewed by over 0.1 degrees.
ImGearRasterProcessing.Deskew(igRasterPage,
    0.1, ImGearRotationModes.CLIP, null);
Visual BasicCopy Code
' Deskew an image if it is skewed by over 0.1 degrees.
ImGearRasterProcessing.Deskew(igRasterPage, 0.1, ImGearRotationModes.CLIP, Nothing)

See Also

©2013. Accusoft Corporation. All Rights Reserved.