FileLocator Pro .NET Library
Show/Hide TOC

# OCRConfiguration Class

Represents the configuration settings defining how enhanced OCR processing occurs.

## Definition

Namespace: Mythicsoft.Search.Core
Assembly: Mythicsoft.Search.Core (in Mythicsoft.Search.Core.dll) Version: 9.3.830.1
C#

    public class OCRConfiguration : IDisposable

C++

    public ref class OCRConfiguration : IDisposable

Inheritance
  Object OCRConfiguration

Implements
  IDisposable

## Properties

Active | Gets or sets the flag indicating whether or not OCR analysis of files occurs.
CacheOCRText | Gets or sets the flag indicating if the results of OCR should be cached.
FileTypes | Gets or sets the comma separate list of interpreter names that should be OCR analyzed for text, e.g. "png,jpg,tif" To analyze ALL available extensions set this value to an empty string, to switch off OCR analysis set the Active property to false.
IgnoreDocumentsWithText | Gets or sets the flag indicating if documents with readable text already available (such as PDFs) should still have embedded images OCR analyzed.
LanguageCode | Gets or sets the primary language code of the source images. The list of language codes are defined in ocrdata_lang.xml but the specified language code must also have the corresponding training data file in the training_data sub folder.

## Methods

Dispose | Releases all resources used by the OCRConfiguration
Dispose(Boolean) | Releases the unmanaged resources used by the OCRConfiguration and optionally releases the managed resources
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object)
Finalize | Non-GC class clean up (Overrides ObjectFinalize)
GetHashCode | Serves as the default hash function. (Inherited from Object)
GetType | Gets the Type of the current instance. (Inherited from Object)
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object)
ToString | Returns a string that represents the current object. (Inherited from Object)

## See Also

#### Reference

Mythicsoft.Search.Core Namespace