Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfTextRedlineOptions

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Source revision
ba882f6b0d07 with working tree changes
Modifiers
sealed

Settings for 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

Constructors

public PdfTextRedlineOptions() #

Properties

public OfficeDiffAlgorithm Algorithm { get; set; } #

Word alignment strategy. The default is OfficeDiffAlgorithm.Myers.

public bool SemanticCleanup { get; set; } #

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

public bool IgnoreCase { get; set; } #

Ignores letter case. The default is false.

public bool DetectMoves { get; set; } #

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

public int MinimumMoveLength { get; set; } #

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

public long MaxWorkUnits { get; set; } #

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; } #

Maximum alignment time. Null means no limit.

public int MaxAnnotatedChanges { get; set; } #

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

public int MaxNoteLength { get; set; } #

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

public bool CreatePopups { get; set; } #

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

public string Author { get; set; } #

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

public string? OldName { get; set; } #

Name of the old document in the change list.

public string? NewName { get; set; } #

Name of the new document in the change list.

public IReadOnlyList<double> InsertionColor { get; set; } #

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

public IReadOnlyList<double> ReplacementColor { get; set; } #

Highlight colour for replacement text. The default is yellow.

public IReadOnlyList<double> MoveColor { get; set; } #

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

public IReadOnlyList<double> DeletionColor { get; set; } #

Caret colour for deletions. The default is red.

public PdfLoadOptions? OldReadOptions { get; set; } #

Read limits or credentials for the old PDF.

public PdfLoadOptions? NewReadOptions { get; set; } #

Read limits or credentials for the new PDF.