AutoCrop2 automatically removes the border using a density analysis algorithm.

This method works only when paper is white and text is black.

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

Syntax

         
 C#  Visual Basic  Visual C++ 
public IERect AutoCrop2(
	double borderRate,
	bool doCrop
)
Public Function AutoCrop2 ( _
	borderRate As Double, _
	doCrop As Boolean _
) As IERect
public:
IERect AutoCrop2(
	double borderRate, 
	bool doCrop
)

Parameters

borderRate
Double
the difference between border and text
doCrop
Boolean
If False the image is not cropped, but the suggested area for cropping is returned as the result

Return Value

Returns the area to crop or cropped

See Also