Accusoft.ScanFixXpress7.Net
RemoveBorder(BorderRemovalOptions) Method
See Also  Send Feedback
Accusoft.ScanFixXpressSdk Namespace > ScanFix Class > RemoveBorder Method : RemoveBorder(BorderRemovalOptions) Method




options
An object containing parameters that control the enhancement process.

Glossary Item Box

Locate border pixels and will replace them with the specified pad color and/or remove the pixels from the image. Optionally, it can also deskew the image based on the angle of the detected border.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

options
An object containing parameters that control the enhancement process.

Return Value

An object containing information produced by the enhancement process.

Exceptions

ExceptionDescription
System.ArgumentNullExceptionThrown when required argument value is null.
System.ArgumentOutOfRangeExceptionThrown when argument is out of range.
System.ComponentModel.InvalidEnumArgumentExceptionThrown when argument enum value is invalid.
ScanFixUnsupportedImageExceptionThrown when image type is unsupported.
ScanFixExceptionThrown when operation failed.

Remarks

Note: Use this function if you wish to modify the parameters controlling the enhancement.

When to use border removal and what results to expect:

Border removal attempts to find "border-like" characteristics of an image. On images that it finds no suitable borders, or multiple suitable borders, a low confidence will likely to be returned. Border removal in most cases tolerates white specks in the border and black specks in the page unless the specks account for a susbstantial portion, say more than 25%, of all the pixels in a large area. Thick black or white streaks on images may cause reduced accuracy for border removal, as they resemble nice, straight edges. Irregular borders, such as the ones with white areas in the border, may cause some portions of the border to be left on the image.

See Also

©2012. Accusoft Corporation. All Rights Reserved.