Cuminas DjVu SDK for .NET Framework
PerformOCR(OcrSettings,Boolean,Boolean) Method



OCR configuration.
true to perform OCR on the pages which already have OCR tests; otherwise skip such pages.
Certain applications does not accept character level texts. For such applications this should be true. Normally this can be false.
Performs OCR on all the pages in the document.
Syntax
Public Overloads Sub PerformOCR( _
   ByVal ocrSettings As OcrSettings, _
   ByVal forceOCR As Boolean, _
   ByVal wordLevel As Boolean _
) 
Dim instance As Document
Dim ocrSettings As OcrSettings
Dim forceOCR As Boolean
Dim wordLevel As Boolean
 
instance.PerformOCR(ocrSettings, forceOCR, wordLevel)
public void PerformOCR( 
   OcrSettings ocrSettings,
   bool forceOCR,
   bool wordLevel
)
public:
void PerformOCR( 
   OcrSettings^ ocrSettings,
   bool forceOCR,
   bool wordLevel
) 

Parameters

ocrSettings
OCR configuration.
forceOCR
true to perform OCR on the pages which already have OCR tests; otherwise skip such pages.
wordLevel
Certain applications does not accept character level texts. For such applications this should be true. Normally this can be false.
Example
For OCR example, see PerformOCR Method.
Requirements

Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

Reference

Document Class
Document Members
Overload List

Send Feedback