BorderRemovalCommand Constructor (BorderRemovalEdges, Double, Boolean) |
Initializes a new instance of
BorderRemovalCommand specifying the edges to remove,
tolerance, and despeckling.
Namespace:
Atalasoft.Imaging.ImageProcessing.Document
Assembly:
Atalasoft.dotImage (in Atalasoft.dotImage.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax public BorderRemovalCommand(
BorderRemovalEdges edges,
double tolerance,
bool despeckle
)
Public Sub New (
edges As BorderRemovalEdges,
tolerance As Double,
despeckle As Boolean
)
Parameters
- edges
- Type: Atalasoft.Imaging.ImageProcessing.DocumentBorderRemovalEdges
Indicates which of the 4 sides are to be removed. - tolerance
- Type: SystemDouble
Indicates the tolerance of the border detection. (0 to 100) - despeckle
- Type: SystemBoolean
Indicates if the calculated border will be despeckled first.
Exceptions Exception | Condition |
---|
| Thrown if the tolerance is less than 0 or greater than 100. |
See Also