# OCRParams Class

> Class OCRParams.

- Product: Adobe PDF Library 18
- Language: .NET Framework
- Version: APDFL18.0.5PlusP2a
- HTML page: https://docs.datalogics.com/apdfl18/DotNetFramework/APDFL18.0.5PlusP2a/class/OCRParams
- Version index: https://docs.datalogics.com/apdfl18/DotNetFramework/APDFL18.0.5PlusP2a/llms.txt

```csharp
class OCRParams : SystemIDisposable
```

**Namespace:** `Datalogics::PDFL`

**Inherits from:** `SystemIDisposable`

**Referenced by:** [`OCREngine`](https://docs.datalogics.com/apdfl18/DotNetFramework/APDFL18.0.5PlusP2a/class/OCREngine.md), [`OCRParams`](https://docs.datalogics.com/apdfl18/DotNetFramework/APDFL18.0.5PlusP2a/class/OCRParams.md)

**Uses types:** [`LanguageSetting`](https://docs.datalogics.com/apdfl18/DotNetFramework/APDFL18.0.5PlusP2a/class/LanguageSetting.md), [`OCRParams`](https://docs.datalogics.com/apdfl18/DotNetFramework/APDFL18.0.5PlusP2a/class/OCRParams.md), [`PageSegmentationMode`](https://docs.datalogics.com/apdfl18/DotNetFramework/APDFL18.0.5PlusP2a/enum/PageSegmentationMode.md), [`Performance`](https://docs.datalogics.com/apdfl18/DotNetFramework/APDFL18.0.5PlusP2a/enum/Performance.md)

## Constructors

### OCRParams

```csharp
Datalogics.PDFL.OCRParams.OCRParams()
```

*constructor*

Create an OCRParams structure with defaults.

## Properties

### CandidateFontNames

```csharp
System.Collections.Generic.IList<System.String> Datalogics.PDFL.OCRParams.CandidateFontNames { get; set; }
```

### ConfigurationParameters

```csharp
System.Collections.Generic.IDictionary<System.String, System.String> Datalogics.PDFL.OCRParams.ConfigurationParameters { get; set; }
```

### EnableImagePreprocessing

```csharp
bool Datalogics.PDFL.OCRParams.EnableImagePreprocessing { get; set; }
```

### Engine

```csharp
string Datalogics.PDFL.OCRParams.Engine { get; set; }
```

### Languages

```csharp
System.Collections.Generic.IList<LanguageSetting> Datalogics.PDFL.OCRParams.Languages { get; set; }
```

### PageSegmentationMode

```csharp
PageSegmentationMode Datalogics.PDFL.OCRParams.PageSegmentationMode { get; set; }
```

### Performance

```csharp
Performance Datalogics.PDFL.OCRParams.Performance { get; set; }
```

### Resolution

```csharp
double Datalogics.PDFL.OCRParams.Resolution { get; set; }
```

### Tesseract4Engine

```csharp
static string Datalogics.PDFL.OCRParams.Tesseract4Engine { get; }
```

*static*

## Methods

### Dispose

```csharp
void Datalogics.PDFL.OCRParams.Dispose()
```

**Returns:** `void`
