# LegacyWordImportOptions

Options for safe read-only legacy-word import.

Class 

`OfficeIMO.Word.Legacy`

**Namespace**

`OfficeIMO.Word.Legacy`

**Assembly**

`OfficeIMO.Word`

**Source revision**

`12511d2fa560` with working tree changes

**Source**

[LegacyWordContracts.cs:257](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/Legacy/LegacyWordContracts.cs#L257)

**Modifiers**

sealed

Options for safe read-only legacy-word import.

## Inheritance

- object
- LegacyWordImportOptions

## 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 [LegacyWordImporter.Detect](/api/word/officeimo-word-legacy-legacywordimporter/#method-detect-string-officeimo-word-legacy-legacywordimportoptions-threading-cancellationtoken) parameter `options`
- Method [LegacyWordImporter.Import](/api/word/officeimo-word-legacy-legacywordimporter/#method-import-string-officeimo-word-legacy-legacywordimportoptions-threading-cancellationtoken) parameter `options`

Filter members 

Show inherited

## Constructors

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

[LegacyWordContracts.cs:257](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/Legacy/LegacyWordContracts.cs#L257)

## 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 OfficeLegacyImportLimits Limits { get; set; }` [#](#property-limits)

[LegacyWordContracts.cs:257](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/Legacy/LegacyWordContracts.cs#L257)

Gets or sets hard resource limits.

`public LegacyWordFormat? FormatHint { get; set; }` [#](#property-formathint)

[LegacyWordContracts.cs:259](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/Legacy/LegacyWordContracts.cs#L259)

Gets or sets an explicit family when the source signature is weak or damaged.

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

[LegacyWordContracts.cs:261](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/Legacy/LegacyWordContracts.cs#L261)

Gets or sets the source name used for extension-assisted detection.

`public bool RequireStructured { get; set; }` [#](#property-requirestructured)

[LegacyWordContracts.cs:263](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Word/Legacy/LegacyWordContracts.cs#L263)

Gets or sets whether salvage-quality output must be rejected.

<!-- PowerForge markdown artifact sha256:CBFD75041F1EBE5AFB2083680974CEF768A5DFC70E4BD8886EC5D40399CB19EF -->
