Automatically detects and removes lines from the current image. Uses the default settings of the DocumentLineRemoval Method.
Visual Basic |
---|
Public Sub DocumentLineRemovalUsingDefaults() |
This method is similar to the DocumentLineRemoval Method, but uses the default settings.
Line removal is the process of detecting and removing vertical and horizontal lines from an image. This method examines the current image to find lines and modifies the image to remove them.
Outputs
- The component's current image should have lines removed if no errors occurred. If lines were not removed for any reason, this image will not be modified.
- IPCountOfLinesFound will be set with the number of lines detected.
- IPImageWasModified is set to true if the image was modified, false if the image was not modified.
Using the DocumentLineRemoval method
1. Load a 1 bit image from a file or stream input.
2. Call DocumentLineRemovalUsingDefaults.
3. Examine properties (Lines are removed from current image.)
Note: Available in Professional Edition.