# OfficeTextIntegrityOptions

Bounds Unicode text-integrity inspection.

Class 

`OfficeIMO.Provenance`

**Namespace**

`OfficeIMO.Provenance`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[OfficeTextIntegrity.cs:47](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Provenance/OfficeTextIntegrity.cs#L47)

**Modifiers**

sealed

Bounds Unicode text-integrity inspection.

## Inheritance

- object
- OfficeTextIntegrityOptions

## Usage

Explore 4 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 [OfficeProvenanceAssessmentOptions.TextIntegrity](/api/core/officeimo-provenance-officeprovenanceassessmentoptions/#property-textintegrity)

### Accepted by parameters 3

- Method [OfficeTextIntegrityInspector.Inspect](/api/core/officeimo-provenance-officetextintegrityinspector/#method-inspect-string-officeimo-provenance-officetextintegrityoptions-string) parameter `options`
- Method [OfficeTextIntegrityInspector.InspectFile](/api/core/officeimo-provenance-officetextintegrityinspector/#method-inspectfile-string-officeimo-provenance-officetextintegrityoptions-string) parameter `options`
- Method [OfficeTextIntegrityReview.Inspect](/api/core/officeimo-provenance-officetextintegrityreview/#method-inspect-string-officeimo-provenance-officetextintegrityoptions-string-threading-cancellationtoken) parameter `options`

Filter members 

Show inherited

## Constructors

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

[OfficeTextIntegrity.cs:47](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Provenance/OfficeTextIntegrity.cs#L47)

## 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 long MaxEncodedBytes { get; set; }` [#](#property-maxencodedbytes)

[OfficeTextIntegrity.cs:47](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Provenance/OfficeTextIntegrity.cs#L47)

Maximum encoded bytes accepted by file inspection. Defaults to 64 MiB.

`public int MaxCharacters { get; set; }` [#](#property-maxcharacters)

[OfficeTextIntegrity.cs:49](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Provenance/OfficeTextIntegrity.cs#L49)

Maximum UTF-16 code units inspected. Defaults to 16 million.

`public int MaxFindings { get; set; }` [#](#property-maxfindings)

[OfficeTextIntegrity.cs:51](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Provenance/OfficeTextIntegrity.cs#L51)

Maximum findings returned. Defaults to 4,096.

`public bool IgnoreLeadingByteOrderMark { get; set; }` [#](#property-ignoreleadingbyteordermark)

[OfficeTextIntegrity.cs:53](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Provenance/OfficeTextIntegrity.cs#L53)

Whether a leading decoded byte-order mark is ignored. Defaults to true.

`public bool IncludeTypographicSpaces { get; set; }` [#](#property-includetypographicspaces)

[OfficeTextIntegrity.cs:55](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Provenance/OfficeTextIntegrity.cs#L55)

Whether typographic spaces are reported. Defaults to true.

`public bool IncludeVariationSelectors { get; set; }` [#](#property-includevariationselectors)

[OfficeTextIntegrity.cs:57](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Provenance/OfficeTextIntegrity.cs#L57)

Whether variation selectors are reported. Defaults to true.

<!-- PowerForge markdown artifact sha256:0302423A395582D561FF47DE92ED0A8BF08F1413FCC425ECABF773EE9A9924E2 -->
