# ReaderResourceLimits

Whole-read resource budgets shared by nested readers and by files in a folder operation. Null values leave a budget unlimited.

Class 

`OfficeIMO.Reader`

**Namespace**

`OfficeIMO.Reader`

**Assembly**

`OfficeIMO.Reader.Core`

**Source revision**

`013c05ace7bb` with working tree changes

**Source**

[ReaderResourceLimits.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/013c05ace7bb14e293639941ec9cf54eb5177a90/OfficeIMO.Reader.Core/ReaderResourceLimits.cs#L10)

**Modifiers**

sealed

Whole-read resource budgets shared by nested readers and by files in a folder operation. Null values leave a budget unlimited. These complement format parser limits; rich-model budgets are checked when the engine produces its model, not before its internal allocation.

## Inheritance

- object
- ReaderResourceLimits

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

### Returned or exposed by 1

- Property [ReaderOptions.ResourceLimits](/api/reader/officeimo-reader-readeroptions/#property-resourcelimits)

Filter members 

Show inherited

## Constructors

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

## 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? MaxChunks { get; set; }` [#](#property-maxchunks)

[ReaderResourceLimits.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/013c05ace7bb14e293639941ec9cf54eb5177a90/OfficeIMO.Reader.Core/ReaderResourceLimits.cs#L10)

Maximum distinct generated chunk objects, including nested content.

`public long? MaxChunkCharacters { get; set; }` [#](#property-maxchunkcharacters)

[ReaderResourceLimits.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/013c05ace7bb14e293639941ec9cf54eb5177a90/OfficeIMO.Reader.Core/ReaderResourceLimits.cs#L12)

Maximum aggregate characters in chunk Text and Markdown projections.

`public long? MaxBlocks { get; set; }` [#](#property-maxblocks)

[ReaderResourceLimits.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/013c05ace7bb14e293639941ec9cf54eb5177a90/OfficeIMO.Reader.Core/ReaderResourceLimits.cs#L14)

Maximum distinct rich block objects across root and nested results.

`public long? MaxAssets { get; set; }` [#](#property-maxassets)

[ReaderResourceLimits.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/013c05ace7bb14e293639941ec9cf54eb5177a90/OfficeIMO.Reader.Core/ReaderResourceLimits.cs#L16)

Maximum distinct asset records across root and nested results.

`public long? MaxAssetBytes { get; set; }` [#](#property-maxassetbytes)

[ReaderResourceLimits.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/013c05ace7bb14e293639941ec9cf54eb5177a90/OfficeIMO.Reader.Core/ReaderResourceLimits.cs#L18)

Maximum aggregate known asset payload bytes. Shared byte-array payloads count once.

`public long? MaxNestedInputBytes { get; set; }` [#](#property-maxnestedinputbytes)

[ReaderResourceLimits.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/013c05ace7bb14e293639941ec9cf54eb5177a90/OfficeIMO.Reader.Core/ReaderResourceLimits.cs#L20)

Maximum aggregate decoded bytes admitted to nested readers, including nested archive bytes.

`public long? MaxNestedDocuments { get; set; }` [#](#property-maxnesteddocuments)

[ReaderResourceLimits.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/013c05ace7bb14e293639941ec9cf54eb5177a90/OfficeIMO.Reader.Core/ReaderResourceLimits.cs#L22)

Maximum nested inputs decoded or dispatched across one operation.

`public int? MaxNestedDepth { get; set; }` [#](#property-maxnesteddepth)

[ReaderResourceLimits.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/013c05ace7bb14e293639941ec9cf54eb5177a90/OfficeIMO.Reader.Core/ReaderResourceLimits.cs#L24)

Maximum nested input depth, with the root at zero.

<!-- PowerForge markdown artifact sha256:92300ACA057D66D96639182C6DA40B169779F0451D3BB8198D4BF0BDC0A36CD3 -->
