# XmlReadOptions

Options for XML adapter behavior.

Class 

`OfficeIMO.Reader.Xml`

**Namespace**

`OfficeIMO.Reader.Xml`

**Assembly**

`OfficeIMO.Reader.Xml`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[XmlReadOptions.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Reader.Xml/XmlReadOptions.cs#L10)

**Modifiers**

sealed

Options for XML adapter behavior.

## Inheritance

- object
- XmlReadOptions

## Usage

Explore 1 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 1

- Method [OfficeDocumentReaderBuilderXmlExtensions.AddXmlHandler](/api/reader-xml/officeimo-reader-xml-officedocumentreaderbuilderxmlextensions/#method-addxmlhandler-officeimo-reader-officedocumentreaderbuilder-officeimo-reader-xml-xmlreadoptions-boolean) parameter `xmlOptions`

Filter members 

Show inherited

## Constructors

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

[XmlReadOptions.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Reader.Xml/XmlReadOptions.cs#L10)

## 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 int ChunkRows { get; set; }` [#](#property-chunkrows)

[XmlReadOptions.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Reader.Xml/XmlReadOptions.cs#L10)

Rows per emitted chunk.

`public int MaxDepth { get; set; }` [#](#property-maxdepth)

[XmlReadOptions.cs:13](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Reader.Xml/XmlReadOptions.cs#L13)

Maximum element nesting, with the root at depth one.

`public int MaxNodes { get; set; }` [#](#property-maxnodes)

[XmlReadOptions.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Reader.Xml/XmlReadOptions.cs#L16)

Maximum XML nodes and attributes accepted before emitting chunks.

`public int MaxScalarLength { get; set; }` [#](#property-maxscalarlength)

[XmlReadOptions.cs:19](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Reader.Xml/XmlReadOptions.cs#L19)

Maximum characters in an attribute or an element's combined direct text.

`public bool IncludeMarkdown { get; set; }` [#](#property-includemarkdown)

[XmlReadOptions.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Reader.Xml/XmlReadOptions.cs#L24)

Include markdown table previews in emitted chunks.

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