Click or drag to resize

ScannerGetContrast Method

This property is used to get or set the current scan contrast.

Namespace:  Kofax.OmniPageCSDK.IproPlus
Assembly:  Kofax.OmniPageCSDK.IproPlus (in Kofax.OmniPageCSDK.IproPlus.dll) Version: 1.0.0.0
Syntax
public int GetContrast(
	[OptionalAttribute] bool Percent
)

Parameters

Percent (Optional)
Type: SystemBoolean

Return Value

Type: Int32
Remarks

The Percent parameter is an optional Boolean parameter. If Percent is not specified, or is False, the contrast value is considered as a contrast step. In this case the minimum value is 0 and the maximum value is ContrastMax-1. The default value of this property is ContrastDefault.

If the Percent parameter is True the contrast value should be considered as a percentage. In this case the minimum value is 0, the maximum value is 100.

See Also