AccusoftImagXpress13 ActiveX DLL > ImagXpress Object : DocumentBorderCrop Method |
Visual Basic |
---|
Public Sub DocumentBorderCrop() |
This border crop method is the process of detecting and removing vertical and horizontal lines from the outside rim of an document. The method examines the current document to find dark exterior lines along the outside edge, modifying it to remove them. If the area defined by the crop parameters does not fall within the boundaries of the document, the document is not cropped and an error generates.
Outputs
Using the DocumentBorderCrop
1. Load a 1 bit image from a file or stream input.
2. Call the method.
3. IPConfidence and IPImageWasModfied properties verify borders removed from document.
Note: Available in Professional Edition.