# PdfSearchableWorkflowRequest

Creates a searchable PDF through a caller-owned OCR engine and guarded artifact publication.

Class 

`OfficeIMO.Workflows`

**Namespace**

`OfficeIMO.Workflows`

**Assembly**

`OfficeIMO.Workflows`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[PdfSearchableWorkflowRequest.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/PdfSearchableWorkflowRequest.cs#L8)

**Modifiers**

sealed

Creates a searchable PDF through a caller-owned OCR engine and guarded artifact publication.

## Inheritance

- object
- PdfSearchableWorkflowRequest

## Usage

Explore 3 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Returned or exposed by 1

- Property [OfficeOcrSessionRequest.Pdf](/api/workflows/officeimo-workflows-officeocrsessionrequest/#property-pdf)

### Accepted by parameters 2

- Constructor [OfficeOcrSessionRequest.OfficeOcrSessionRequest](/api/workflows/officeimo-workflows-officeocrsessionrequest/#constructor-ctor-string-officeimo-workflows-pdfsearchableworkflowrequest) parameter `request`
- Method [OfficeWorkflowRunner.MakePdfSearchableAsync](/api/workflows/officeimo-workflows-officeworkflowrunner/#method-makepdfsearchableasync-officeimo-workflows-pdfsearchableworkflowrequest-officeimo-ocr-iocrengine-threading-cancellationtoken) parameter `request`

Filter members 

Show inherited

## Constructors

`public PdfSearchableWorkflowRequest()` [#](#constructor-ctor)

[PdfSearchableWorkflowRequest.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/PdfSearchableWorkflowRequest.cs#L8)

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public string Id { get; set; }` [#](#property-id)

[PdfSearchableWorkflowRequest.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/PdfSearchableWorkflowRequest.cs#L8)

Caller-provided identifier.

`public string InputPath { get; set; }` [#](#property-inputpath)

[PdfSearchableWorkflowRequest.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/PdfSearchableWorkflowRequest.cs#L10)

Source filesystem path or provider location.

`public OfficeWorkflowStreamInput? InputStream { get; set; }` [#](#property-inputstream)

[PdfSearchableWorkflowRequest.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/PdfSearchableWorkflowRequest.cs#L12)

Optional reopenable provider input.

`public string OutputPath { get; set; }` [#](#property-outputpath)

[PdfSearchableWorkflowRequest.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/PdfSearchableWorkflowRequest.cs#L14)

Explicit output filesystem path or provider location.

`public OfficeWorkflowStreamOutput? OutputStream { get; set; }` [#](#property-outputstream)

[PdfSearchableWorkflowRequest.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/PdfSearchableWorkflowRequest.cs#L16)

Optional provider output, requiring confirmed direct-write consent and Replace policy.

`public OfficePublicationPolicy ConflictPolicy { get; set; }` [#](#property-conflictpolicy)

[PdfSearchableWorkflowRequest.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/PdfSearchableWorkflowRequest.cs#L18)

Existing destination policy.

`public IOfficePublicationGuard? PublicationGuard { get; set; }` [#](#property-publicationguard)

[PdfSearchableWorkflowRequest.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/PdfSearchableWorkflowRequest.cs#L20)

Host authorization checked immediately before publication.

`public OfficeOperationLimits Limits { get; set; }` [#](#property-limits)

[PdfSearchableWorkflowRequest.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/PdfSearchableWorkflowRequest.cs#L22)

Input and output byte limits.

`public string? PdfPassword { get; set; }` [#](#property-pdfpassword)

[PdfSearchableWorkflowRequest.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/PdfSearchableWorkflowRequest.cs#L24)

Password used to open an encrypted source.

`public PdfOcrMergeOptions Ocr { get; set; }` [#](#property-ocr)

[PdfSearchableWorkflowRequest.cs:26](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/PdfSearchableWorkflowRequest.cs#L26)

Recognition, page selection, rendering, and confidence options captured before asynchronous work.

`public OfficePageSelector? PageSelector { get; set; }` [#](#property-pageselector)

[PdfSearchableWorkflowRequest.cs:28](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/PdfSearchableWorkflowRequest.cs#L28)

Optional document-relative recognition pages, resolved against the captured source. Cannot be combined with Ocr.ReadOptions.PageSelection.

`public Func<PdfSearchableOcrReview, CancellationToken, Task<IReadOnlyList<PdfRecognizedWord>>>? ReviewAsync { get; set; }` [#](#property-reviewasync)

[PdfSearchableWorkflowRequest.cs:33](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/PdfSearchableWorkflowRequest.cs#L33)

Optional review before mutation. Return eligible word instances from the supplied review. The runner validates the selection and rechecks source identity before publication.

`public Func<PdfSearchableOcrReview, CancellationToken, Task<IReadOnlyDictionary<PdfRecognizedWord, string>>>? ReviewCorrectionsAsync { get; set; }` [#](#property-reviewcorrectionsasync)

[PdfSearchableWorkflowRequest.cs:37](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Workflows/PdfSearchableWorkflowRequest.cs#L37)

Optional correction review. Return eligible original word instances mapped to nonempty reviewed text. Only returned entries are published. Cannot be combined with [PdfSearchableWorkflowRequest.ReviewAsync](/api/workflows/officeimo-workflows-pdfsearchableworkflowrequest/).

<!-- PowerForge markdown artifact sha256:14FE2AA81C8F1F283038D2D1D3651DD22B9E1401364D33EE9E3C2F58DE6B0CB2 -->
