How to enable patch code detection for TWAIN image scanner?
In This Topic
First, you need to check that scanner can detect patch codes, i.e. the IPatchCodeDetectionEnabled capability is supported.
Next, you need to enable detection of patch code, i.e. set value of the IPatchCodeDetectionEnabled capability to true (1).
Next, you need to specify that you want to receive information about found patch codes: device.ExtendedImageInfo.Add(new ExtendedImageInfo(ExtendedImageInfoId.PatchCode)).
Finally, you need to analyze
extended information that is received from the scanner.