# WordComparisonRedlineMode

Selects the DOCX shape produced by WordDocumentComparer.CreateRedlineDocument.

Enum 

`OfficeIMO.Word`

**Namespace**

`OfficeIMO.Word`

**Assembly**

`OfficeIMO.Word`

**Source revision**

`90fbca630045` with working tree changes

**Source**

[WordComparisonRedlineOptions.cs:5](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Word/WordDocumentComparer/WordComparisonRedlineOptions.cs#L5)

**Base**

`Enum`

**Implements**

`IComparable` `ISpanFormattable` `IFormattable` `IConvertible`

**Modifiers**

sealed

Selects the DOCX shape produced by [WordDocumentComparer.CreateRedlineDocument](/api/word/officeimo-word-worddocumentcomparer/).

## Inheritance

- Enum
- WordComparisonRedlineMode

## Guides & Samples

Authored walkthroughs and practical samples linked to this API.

- [Track Changes and Compare Word Documents](/docs/word/review/) Guide
  
  Add and read comments and tracked changes, accept or reject revisions by author or type, compare two DOCX versions, and create a redline document.

## 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 3

- Field [WordComparisonRedlineMode.InPlaceTarget](/api/word/officeimo-word-wordcomparisonredlinemode/#field-inplacetarget)
- Field [WordComparisonRedlineMode.ReportArtifact](/api/word/officeimo-word-wordcomparisonredlinemode/#field-reportartifact)
- Property [WordComparisonRedlineOptions.Mode](/api/word/officeimo-word-wordcomparisonredlineoptions/#property-mode)

Filter members 

Show inherited

## Inherited Methods

`public int CompareTo(object? target)` [#](#method-compareto-object)

Inherited from Enum

Parameters

**target object? required**

Returns

`int`

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

Inherited from Enum

Parameters

**obj object? required**

Returns

`bool`

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

Inherited from Enum

Returns

`int`

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

Inherited from object

Returns

`Type`

`public TypeCode GetTypeCode()` [#](#method-gettypecode)

Inherited from Enum

Returns

`TypeCode`

`public bool HasFlag(Enum flag)` [#](#method-hasflag-enum)

Inherited from Enum

Parameters

**flag Enum required**

Returns

`bool`

ToString 4 overloads

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

Inherited from Enum

Returns

`string`

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

Inherited from Enum

Parameters

**format string? required**

Returns

`string`

`public string ToString(IFormatProvider? provider)` [#](#method-tostring-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString() instead.")`

Parameters

**provider IFormatProvider? required**

Returns

`string`

`public string ToString(string? format, IFormatProvider? provider)` [#](#method-tostring-string-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString(String) instead.")`

Parameters

**format string? required**

**provider IFormatProvider? required**

Returns

`string`

## Values

`public const WordComparisonRedlineMode ReportArtifact` [#](#field-reportartifact)

[WordComparisonRedlineOptions.cs:9](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Word/WordDocumentComparer/WordComparisonRedlineOptions.cs#L9)

Creates a standalone review artifact with a summary, findings table, and tracked snippets.

Value: `0`

`public const WordComparisonRedlineMode InPlaceTarget` [#](#field-inplacetarget)

[WordComparisonRedlineOptions.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/90fbca6300454f4c57161551de8649ac9ee04cbd/OfficeIMO.Word/WordDocumentComparer/WordComparisonRedlineOptions.cs#L14)

Clones the target document and applies supported tracked changes in place.

Value: `1`

<!-- PowerForge markdown artifact sha256:1E7FAFF437B73B07637C189A14E76AA44478494F3B6BE9582C3C9359309FB801 -->
