# PdfOcrReport class

> The result for a document. PdfOcrReport class, PdfNetStack.Ocr namespace.

Namespace: [PdfNetStack.Ocr](https://www.jadev-corp.com/api/pdfnetstack-ocr/)  
Assembly: PdfNetStack.Ocr.dll  
Package: `PdfNetStack.Ocr`

The result for a document.

```csharp
public sealed record PdfOcrReport : IEquatable<PdfOcrReport>
```

**Inheritance**

[object](https://learn.microsoft.com/dotnet/api/system.object) ← 
[PdfOcrReport](https://www.jadev-corp.com/api/pdfnetstack-ocr/pdfocrreport/)

**Implements**

[IEquatable&lt;PdfOcrReport\>](https://learn.microsoft.com/dotnet/api/system.iequatable\-1)

## Constructors

### <a id="PdfNetStack_Ocr_PdfOcrReport__ctor_System_Collections_Generic_IReadOnlyList_PdfNetStack_Ocr_PdfOcrPage__"></a> PdfOcrReport\(IReadOnlyList&lt;PdfOcrPage\>\)

The result for a document.

```csharp
public PdfOcrReport(IReadOnlyList<PdfOcrPage> Pages)
```

#### Parameters

`Pages` [IReadOnlyList](https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlylist\-1)<[PdfOcrPage](https://www.jadev-corp.com/api/pdfnetstack-ocr/pdfocrpage/)\>

One entry per page, in order.

## Properties

### <a id="PdfNetStack_Ocr_PdfOcrReport_Pages"></a> Pages

One entry per page, in order.

```csharp
public IReadOnlyList<PdfOcrPage> Pages { get; init; }
```

#### Property Value

 [IReadOnlyList](https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlylist\-1)<[PdfOcrPage](https://www.jadev-corp.com/api/pdfnetstack-ocr/pdfocrpage/)\>

### <a id="PdfNetStack_Ocr_PdfOcrReport_Text"></a> Text

All the text found, pages separated by blank lines.

```csharp
public string Text { get; }
```

#### Property Value

 [string](https://learn.microsoft.com/dotnet/api/system.string)

## Used in

- [Make scanned PDFs searchable with OCR in C#](https://www.jadev-corp.com/guides/ocr/)
- [Make a scanned PDF searchable in C#](https://www.jadev-corp.com/recipes/make-scanned-pdf-searchable/)

Source: https://www.jadev-corp.com/pdfnetstack/api/pdfnetstack-ocr/pdfocrreport/
