Scanner.SetScanArea Method
|
This method sets the scanning area of the scanner.
Namespace:
Kofax.OmniPageCSDK.IproPlus
Assembly:
Kofax.OmniPageCSDK.IproPlus (in Kofax.OmniPageCSDK.IproPlus.dll) Version: 1.0.0.0
Syntaxpublic void SetScanArea(
int left,
int top,
int Width,
int Height
)
Public Sub SetScanArea (
left As Integer,
top As Integer,
Width As Integer,
Height As Integer
)
public:
void SetScanArea(
[InAttribute] int left,
[InAttribute] int top,
[InAttribute] int Width,
[InAttribute] int Height
)
Parameters
- left
- Type: System.Int32
- top
- Type: System.Int32
- Width
- Type: System.Int32
- Height
- Type: System.Int32
Remarks
The parameters are measured in 1/1200 inches. If the scanning area is larger than the set paper size, then it will be cropped accordingly.
If the passed scanning area is invalid, a trappable error occurs during scanning.
The default value of the Left and Top parameters is 0, Width and Height parameters are initialized according to the selected paper source capabilities.
See Also