Gets or sets a value that indicates whether this IOcrAutoRecognizeManager should output debug messages to the standard .NET trace listeners.
public bool EnableTrace { get; set; }
Property EnableTrace As Boolean
@property (nonatomic, assign) BOOL enableTrace
public boolean getEnableTrace()
public void setEnableTrace(boolean value)
true if this IOcrAutoRecognizeManager should output debug messages to the standard .NET trace listeners, otherwise; false Default value is false.
If the value of this property is set to true, then this IOcrAutoRecognizeManager object will output debug messages with current status (page being loaded, zoned, recognized, saved, etc.) and any errors that may occur to the default .NET trace listener.
For example, to enable tracing to the .NET console, use the following code:
// Trace to the console
System.Diagnostics.Trace.Listeners.Add(new TextWriterTraceListener(Console.Out));
// Enable tracing in the OCR recognize manager
ocrAutoRecognizeManager.EnableTrace = true;
// Run the job
ocrAutoRecognizeManager.RunJob(ocrJob);
When tracing is enabled, the engine will use the OcrAutoRecognizeJobData.JobName value when writing trace messages to help easily identity jobs.
For more information on .NET tracing, refer to System.Diagnostics.Trace.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document