Image.Convert2BW Method |
Namespace: Kofax.OmniPageCSDK.IproPlus
public void Convert2BW( IMG_CONVERSION Conversion, [OptionalAttribute] int Brightness, [OptionalAttribute] int Threshold, [OptionalAttribute] IMG_RESENH ResolEnh )
If this method is called for a B/W page, no conversion is performed. For more details see the description of the Convert2BW method of the ImageFile object."
Note that calling this method destroys any existing recognition results. The OCRZones and Characters collections are cleared. The CharNum, WordNum, RejectedCharNum, RecognitionTime and FullRecognitionTime properties of the Statistics object are set to zero, the Recognized property of the Page object is set to False. This method processes all the stored image variants.
Calling this method sets the Modified property of the related Document to True.