ClearImage 8 Help
ClearBackground Method
See Also  Send Feedback
Inlite.ClearImageNet Namespace > ImageEditor Class : ClearBackground Method






threshold
Background threshold level (range 0-100)
Sets background of color or grayscale image to white

Syntax

Visual Basic (Declaration) 
Public Sub ClearBackground( _
   ByVal threshold As Double _
) 
Visual Basic (Usage)Copy Code
Dim instance As ImageEditor
Dim threshold As Double
 
instance.ClearBackground(threshold)
C# 
public void ClearBackground( 
   double threshold
)
Delphi 
public procedure ClearBackground( 
    threshold: Double
); 
JScript 
public function ClearBackground( 
   threshold : double
);
Managed Extensions for C++ 
public: void ClearBackground( 
   double threshold
) 
C++/CLI 
public:
void ClearBackground( 
   double threshold
) 

Parameters

threshold
Background threshold level (range 0-100)

Remarks

Background of scanned pages is typically off-white.
This method sets all pixels brighter than the specified threshold to pure white.
threshold = 0 threshold does not modify the image
threshold = 100 sets all image pixels to white
threshold = 30% is recommended

Licensing: Requires ClearImage Repair license

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2007-2013. Inlite Research, Inc. All Rights Reserved.