Visual Basic (Declaration) | |
---|---|
Public Class BorderRemoveCommand Inherits RasterCommand Implements IRasterCommand |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public class BorderRemoveCommand : RasterCommand, IRasterCommand |
C++/CLI | |
---|---|
public ref class BorderRemoveCommand : public RasterCommand, IRasterCommand |
Run the BorderRemoveCommand on an image.
Visual Basic | Copy Code |
---|---|
Public WithEvents borderRemoveCommandCallback As BorderRemoveCommand |
C# | Copy Code |
---|---|
public void BorderRemoveCommandExample() |
This command removes borders that commonly appear in scanned text documents. Any or all of the four borders can be detected and removed. The behavior of this command can be modified by using an Event Handler that handles the BorderRemoveCommandEventArgs. This command works only on 1-bit black and white images. If a region is selected, only the selected region will be changed by this command. If no region is selected, the whole image will be processed. This command does not support signed data images. This command does not support 32-bit grayscale images.
System.Object
Leadtools.ImageProcessing.RasterCommand
Leadtools.ImageProcessing.Core.BorderRemoveCommand
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
Reference
BorderRemoveCommand MembersLeadtools.ImageProcessing.Core Namespace
Cleaning Up 1-Bit Images
SmoothCommand Class
LineRemoveCommand Class
InvertedTextCommand Class
InvertedPageCommand Class
DotRemoveCommand Class
HolePunchRemoveCommand Class
HighQualityRotateCommand Class
MinimumCommand Class
MaximumCommand Class
RegionHolesRemovalCommand