# PdfTextRedlineOptions

Settings for PdfTextRedline. Review signatures, members, parameters, type relationships, and available reference details in OfficeIMO.Pdf API Reference.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[PdfTextRedline.cs:192](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Pdf/Comparison/PdfTextRedline.cs#L192)

**Modifiers**

sealed

Settings for [PdfTextRedline](/api/pdf/officeimo-pdf-pdftextredline/).

## Inheritance

- object
- PdfTextRedlineOptions

## Usage

Explore 2 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.

### Accepted by parameters 2

- Method [PdfTextRedline.Compare](/api/pdf/officeimo-pdf-pdftextredline/#method-compare-byte-byte-officeimo-pdf-pdftextredlineoptions-threading-cancellationtoken) parameter `options`
- Method [PdfTextRedline.CompareFiles](/api/pdf/officeimo-pdf-pdftextredline/#method-comparefiles-string-string-officeimo-pdf-pdftextredlineoptions-threading-cancellationtoken) parameter `options`

Filter members 

Show inherited

## Constructors

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

[PdfTextRedline.cs:192](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Pdf/Comparison/PdfTextRedline.cs#L192)

## 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 OfficeDiffAlgorithm Algorithm { get; set; }` [#](#property-algorithm)

[PdfTextRedline.cs:189](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Pdf/Comparison/PdfTextRedline.cs#L189)

Word alignment strategy. The default is OfficeDiffAlgorithm.Myers.

`public bool SemanticCleanup { get; set; }` [#](#property-semanticcleanup)

[PdfTextRedline.cs:192](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Pdf/Comparison/PdfTextRedline.cs#L192)

Merges short unchanged fragments between changes so a reworded phrase is one replacement. The default is true.

`public bool IgnoreCase { get; set; }` [#](#property-ignorecase)

[PdfTextRedline.cs:195](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Pdf/Comparison/PdfTextRedline.cs#L195)

Ignores letter case. The default is false.

`public bool DetectMoves { get; set; }` [#](#property-detectmoves)

[PdfTextRedline.cs:198](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Pdf/Comparison/PdfTextRedline.cs#L198)

Reports text deleted in one place and inserted unchanged in another as a move. The default is true.

`public int MinimumMoveLength { get; set; }` [#](#property-minimummovelength)

[PdfTextRedline.cs:201](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Pdf/Comparison/PdfTextRedline.cs#L201)

Shortest moved text, in characters, reported as a move. The default is 12.

`public long MaxWorkUnits { get; set; }` [#](#property-maxworkunits)

[PdfTextRedline.cs:204](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Pdf/Comparison/PdfTextRedline.cs#L204)

Maximum comparison steps before the remaining text is reported as deleted and inserted (see OfficeChangeSet.IsComplete). The default is 50,000,000.

`public TimeSpan? Timeout { get; set; }` [#](#property-timeout)

[PdfTextRedline.cs:207](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Pdf/Comparison/PdfTextRedline.cs#L207)

Maximum alignment time. Null means no limit.

`public int MaxAnnotatedChanges { get; set; }` [#](#property-maxannotatedchanges)

[PdfTextRedline.cs:210](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Pdf/Comparison/PdfTextRedline.cs#L210)

Most changes that get annotations; the change list always has every change. The default is 2,000.

`public int MaxNoteLength { get; set; }` [#](#property-maxnotelength)

[PdfTextRedline.cs:213](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Pdf/Comparison/PdfTextRedline.cs#L213)

Longest text quoted in a note before it is shortened. The default is 500 characters.

`public bool CreatePopups { get; set; }` [#](#property-createpopups)

[PdfTextRedline.cs:216](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Pdf/Comparison/PdfTextRedline.cs#L216)

Adds a pop-up to each annotation so the note opens next to it. The default is true.

`public string Author { get; set; }` [#](#property-author)

[PdfTextRedline.cs:219](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Pdf/Comparison/PdfTextRedline.cs#L219)

Author written to each annotation. The default is "OfficeIMO".

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

[PdfTextRedline.cs:222](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Pdf/Comparison/PdfTextRedline.cs#L222)

Name of the old document in the change list.

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

[PdfTextRedline.cs:225](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Pdf/Comparison/PdfTextRedline.cs#L225)

Name of the new document in the change list.

`public IReadOnlyList<double> InsertionColor { get; set; }` [#](#property-insertioncolor)

[PdfTextRedline.cs:228](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Pdf/Comparison/PdfTextRedline.cs#L228)

Highlight colour for inserted text, as RGB components from 0 to 1. The default is green.

`public IReadOnlyList<double> ReplacementColor { get; set; }` [#](#property-replacementcolor)

[PdfTextRedline.cs:231](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Pdf/Comparison/PdfTextRedline.cs#L231)

Highlight colour for replacement text. The default is yellow.

`public IReadOnlyList<double> MoveColor { get; set; }` [#](#property-movecolor)

[PdfTextRedline.cs:234](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Pdf/Comparison/PdfTextRedline.cs#L234)

Highlight colour for moved text. The default is light blue.

`public IReadOnlyList<double> DeletionColor { get; set; }` [#](#property-deletioncolor)

[PdfTextRedline.cs:237](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Pdf/Comparison/PdfTextRedline.cs#L237)

Caret colour for deletions. The default is red.

`public PdfLoadOptions? OldReadOptions { get; set; }` [#](#property-oldreadoptions)

[PdfTextRedline.cs:240](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Pdf/Comparison/PdfTextRedline.cs#L240)

Read limits or credentials for the old PDF.

`public PdfLoadOptions? NewReadOptions { get; set; }` [#](#property-newreadoptions)

[PdfTextRedline.cs:243](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Pdf/Comparison/PdfTextRedline.cs#L243)

Read limits or credentials for the new PDF.

<!-- PowerForge markdown artifact sha256:5C2D0993D9218FDE52C298A97B82507C6BD4240209E5AD88F88517679F62D6D5 -->
