ImageGear for .NET
TextAutoOrientation Method
See Also  Example Send Feedback
ImageGear21.Processing.Advanced Assembly > ImageGear.Processing.ImageClean Namespace > ImGearIC Class : TextAutoOrientation Method




page
1-bit ImGearPage object to apply the method to.
documentType
Specifies type of the input document's alignment.

Glossary Item Box

Detects orientation of the page and auto-rotates it.

Syntax

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

Parameters

page
1-bit ImGearPage object to apply the method to.
documentType
Specifies type of the input document's alignment.

Remarks

Takes 1-bit ImGearPage and the input document's alignment, which is either standard, left aligned or right aligned, and automatically determines what the proper orientation should be and rotates the page to achieve that proper orientation.

Example

C#Copy Code
// Auto Orientate an image of a left-aligned document.
ImGearIC.TextAutoOrientation(igPage, ImGearICDocumentType.LEFT_ALIGNED);
Visual BasicCopy Code
' Auto Orientate an image of a left-aligned document.
ImGearIC.TextAutoOrientation(igPage, ImGearICDocumentType.LEFT_ALIGNED)

See Also

©2013. Accusoft Corporation. All Rights Reserved.