Leadtools.Workflow.ImageProcessing Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
DeskewActivity Class
See Also  Members  
Leadtools.Workflow.ImageProcessing Namespace : DeskewActivity Class



Rotates the specified image to straighten it. This activity is typically used to automatically straighten scanned images. This activity is available in the Document\Medical Toolkits.

Syntax

Visual Basic (Declaration) 
Public Class DeskewActivity 
   Inherits ImageProcessingBaseActivity
Visual Basic (Usage)Copy Code
Dim instance As DeskewActivity
C# 
public class DeskewActivity : ImageProcessingBaseActivity 
C++/CLI 
public ref class DeskewActivity : public ImageProcessingBaseActivity 

Remarks

  • If the DeskewOptions property contains DeskewCommandDeskewOptions.ReturnAngleOnly, the activity will update the Angle property without rotating the image.
  • The calculated rotation is limited to 20 degrees in either direction. This activity is intended for images, such as scanned documents, that are mainly horizontal lines of text. The results are less predictable with other types of images.
  • This activity includes an option to skip deskewing if the angle is very small.
  • This activity does not support 12 and 16-bit grayscale and 48 and 64-bit color images. If the image is 12 and 16-bit grayscale and 48 and 64-bit color, the activity will not throw an exception.
  • This activity does not support signed data images.
  • This activity does not support 32-bit grayscale images.

Inheritance Hierarchy

System.Object
   System.Workflow.ComponentModel.DependencyObject
      System.Workflow.ComponentModel.Activity
         Leadtools.Workflow.Raster.WorkflowImageActivity
            Leadtools.Workflow.Raster.DisposableImageActivity
               Leadtools.Workflow.ImageProcessing.ImageProcessingBaseActivity
                  Leadtools.Workflow.ImageProcessing.DeskewActivity

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Workflow.ImageProcessing requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features