Crops the borders of 1-bit per pixel documents.
Visual Basic |
---|
Public Sub DocumentBorderCropEx( _ ByVal deskewBorder As Boolean _ ) |
- deskewBorder
- Indicates whether the image should be deskewed during border removal.
This method is the process of detecting and removing vertical and horizontal lines from the outside rim of a 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.
Available in Professional edition. |