# OfficeVbaReadOptions

Limits the materialized compound streams and expanded module source.

Class 

`OfficeIMO`

**Namespace**

`OfficeIMO`

**Assembly**

`OfficeIMO.Core`

**Source revision**

`15caddadea70` with working tree changes

**Source**

[OfficeVbaModels.cs:49](https://github.com/EvotecIT/OfficeIMO/blob/15caddadea7080f6e4b3027fdb95451a0210bdb1/OfficeIMO.Core/Documents/Vba/OfficeVbaModels.cs#L49)

**Modifiers**

sealed

Limits the materialized compound streams and expanded module source.

## Inheritance

- object
- OfficeVbaReadOptions

## 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 [OfficeVbaProject.Load](/api/core/officeimo-officevbaproject/#method-load-byte-officeimo-officevbareadoptions) parameter `options`

Filter members 

Show inherited

## Constructors

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

[OfficeVbaModels.cs:49](https://github.com/EvotecIT/OfficeIMO/blob/15caddadea7080f6e4b3027fdb95451a0210bdb1/OfficeIMO.Core/Documents/Vba/OfficeVbaModels.cs#L49)

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

[OfficeVbaModels.cs:49](https://github.com/EvotecIT/OfficeIMO/blob/15caddadea7080f6e4b3027fdb95451a0210bdb1/OfficeIMO.Core/Documents/Vba/OfficeVbaModels.cs#L49)

Gets or sets the maximum input and aggregate compound-stream bytes; defaults to 64 MiB.

`public int MaximumExpandedBytes { get; set; }` [#](#property-maximumexpandedbytes)

[OfficeVbaModels.cs:51](https://github.com/EvotecIT/OfficeIMO/blob/15caddadea7080f6e4b3027fdb95451a0210bdb1/OfficeIMO.Core/Documents/Vba/OfficeVbaModels.cs#L51)

Gets or sets the aggregate expanded directory and source limit; defaults to 64 MiB.

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