The AutoCropActivity Class is available in LEADTOOLS Document and Medical Imaging toolkits.
Trims the current image, removing blank space around the edges.Visual Basic (Declaration) | |
---|---|
Public Class AutoCropActivity Inherits ImageProcessingBaseActivity Implements IComponent, IDisposable |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As AutoCropActivity |
C# | |
---|---|
public class AutoCropActivity : ImageProcessingBaseActivity, IComponent, IDisposable |
C++/CLI | |
---|---|
public ref class AutoCropActivity : public ImageProcessingBaseActivity, IComponent, IDisposable |
- Generally, this activity is used for automatically trimming blank space from the edges of scanned documents.
- Because this activity uses changes in intensity to detect blank space, it can trim edges of any color or intensity.
- This activity supports 12 and 16-bit grayscale and 48 and 64-bit color images. Support for 12 and 16-bit grayscale and 48 and 64-bit color images is available only in the Document/Medical toolkits.
- This activity does not support signed data images.
- This activity does not support 32-bit grayscale images.
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.AutoCropActivity
Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7