Accusoft.ImagXpressSdk Namespace > Processor Class : RemoveScratches Method |
'Declaration Public Sub RemoveScratches( _ ByVal scratchStartingPoint As Point, _ ByVal scratchEndingPoint As Point, _ ByVal scratchLineWidth As Integer, _ ByVal scratchThreshold As Integer, _ ByVal scratchFilterAdjustment As Integer, _ ByVal scratchSmoothingAdjustment As Integer, _ ByVal scratchType As DefectType _ )
'Usage Dim instance As Processor Dim scratchStartingPoint As Point Dim scratchEndingPoint As Point Dim scratchLineWidth As Integer Dim scratchThreshold As Integer Dim scratchFilterAdjustment As Integer Dim scratchSmoothingAdjustment As Integer Dim scratchType As DefectType instance.RemoveScratches(scratchStartingPoint, scratchEndingPoint, scratchLineWidth, scratchThreshold, scratchFilterAdjustment, scratchSmoothingAdjustment, scratchType)
public void RemoveScratches( Point scratchStartingPoint, Point scratchEndingPoint, int scratchLineWidth, int scratchThreshold, int scratchFilterAdjustment, int scratchSmoothingAdjustment, DefectType scratchType )
public: void RemoveScratches( Point scratchStartingPoint, Point scratchEndingPoint, int scratchLineWidth, int scratchThreshold, int scratchFilterAdjustment, int scratchSmoothingAdjustment, DefectType scratchType )
public: void RemoveScratches( Point scratchStartingPoint, Point scratchEndingPoint, int scratchLineWidth, int scratchThreshold, int scratchFilterAdjustment, int scratchSmoothingAdjustment, DefectType scratchType )
Exception | Description |
---|---|
System.ArgumentException | Thrown when the scratch starting and ending points are the same. |
Before calling this method you must set an area using the SetArea method.
Note: Available in Professional edition.
Thrown when the scratch starting and ending points are the same.