Detects images with a single color (ie a blank page) and remove them.

Namespace: HiComponents.IEvolution
Assembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public int RemoveBlankPages(
	double tolerance,
	bool complete,
	bool leftToRight
)
Public Function RemoveBlankPages ( _
	tolerance As Double, _
	complete As Boolean, _
	leftToRight As Boolean _
) As Integer
public:
int RemoveBlankPages(
	double tolerance, 
	bool complete, 
	bool leftToRight
)

Parameters

tolerance
Double
Controls the amount if purity in order to detect a blank page. Values can range from 0.0 up to 1.0. For example when tolerance is 0.1 then 10% of pixels can have different colors.
complete
Boolean
If "Complete" is true all images are checked. Otherwise the check stops when the first non blank image has found.
leftToRight
Boolean
If "LeftToRight" is true, the scan proceeds from left to right (otherwise it proceeds from right to left).

Return Value

Returns the number of removed pages.

See Also