# OfficeOpenXmlLoadSettings

Low-level but SDK-independent controls for opening an Open XML package.

Class 

`OfficeIMO`

**Namespace**

`OfficeIMO`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

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

**Modifiers**

sealed

Low-level but SDK-independent controls for opening an Open XML package.

## Inheritance

- object
- OfficeOpenXmlLoadSettings

Filter members 

Show inherited

## Constructors

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

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

## 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 OfficeOpenXmlCompatibilityLevel CompatibilityLevel { get; set; }` [#](#property-compatibilitylevel)

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

Gets or sets the Open XML SDK compatibility behavior.

`public OfficeOpenXmlMarkupCompatibilityMode MarkupCompatibilityMode { get; set; }` [#](#property-markupcompatibilitymode)

[OfficeOpenXmlContracts.cs:58](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Documents/OfficeOpenXmlContracts.cs#L58)

Gets or sets how markup-compatibility elements are processed.

`public OfficeOpenXmlFileFormatVersion MarkupCompatibilityTargetVersion { get; set; }` [#](#property-markupcompatibilitytargetversion)

[OfficeOpenXmlContracts.cs:61](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Documents/OfficeOpenXmlContracts.cs#L61)

Gets or sets the Office generation targeted by markup-compatibility processing.

`public long MaxCharactersInPart { get; set; }` [#](#property-maxcharactersinpart)

[OfficeOpenXmlContracts.cs:67](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Core/Documents/OfficeOpenXmlContracts.cs#L67)

Gets or sets the maximum number of characters allowed in one XML part. A value of zero uses the Open XML SDK default.

<!-- PowerForge markdown artifact sha256:3E455BB5FAE34280535AC01E929B0E71069D5B1DFDB21D34E0F9E0CC35122C9E -->
