AutoCrop removes the border with color like Background from the image borders.
Namespace: HiComponents.IEvolutionAssembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0
Syntax
C# | Visual Basic | Visual C++ |
Parameters
- tolerance
- Int32
The Tolerance specifies how much background color must be equal to actual pixel
- background
- IERGB
A color which defined the background
- 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 croppedExamples
CopyC#
IEImage1.AcquireFromTWain(); IEImage1.AutoCrop(10, new IERGB(0,0,0));