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



Parameters to configure OCR process.
true to perform OCR even if the page already contains texts; otherwise if the page already contains texts, the method does nothing.
true to generate only texts on word or upper level elements; otherwise the text contains character level elements.
Performs OCR on the page.
Syntax
Public Overloads Sub PerformOCR( _
   ByVal ocrSettings As OcrSettings, _
   ByVal forceOCR As Boolean, _
   ByVal wordLevel As Boolean _
) 
Dim instance As Page
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
Parameters to configure OCR process.
forceOCR
true to perform OCR even if the page already contains texts; otherwise if the page already contains texts, the method does nothing.
wordLevel
true to generate only texts on word or upper level elements; otherwise the text contains character level elements.
Requirements

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

See Also

Reference

Page Class
Page Members
Overload List

Send Feedback