# VisioLegacyBinaryImportOptions

Controls bounded, read-only reconstruction of legacy binary Visio files.

Class 

`OfficeIMO.Visio`

**Namespace**

`OfficeIMO.Visio`

**Assembly**

`OfficeIMO.Visio`

**Source revision**

`7ec35b56681d` with working tree changes

**Source**

[VisioLegacyBinaryImportOptions.cs:5](https://github.com/EvotecIT/OfficeIMO/blob/7ec35b56681dcc2c23d4f60c510736d847931d7a/OfficeIMO.Visio/VisioLegacyBinaryImportOptions.cs#L5)

**Modifiers**

sealed

Controls bounded, read-only reconstruction of legacy binary Visio files.

## Inheritance

- object
- VisioLegacyBinaryImportOptions

## 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 [VisioDocument.LoadLegacyBinary](/api/visio/officeimo-visio-visiodocument/#method-loadlegacybinary-string-officeimo-visio-visiolegacybinaryimportoptions-threading-cancellationtoken) parameter `options`

Filter members 

Show inherited

## Constructors

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

[VisioLegacyBinaryImportOptions.cs:5](https://github.com/EvotecIT/OfficeIMO/blob/7ec35b56681dcc2c23d4f60c510736d847931d7a/OfficeIMO.Visio/VisioLegacyBinaryImportOptions.cs#L5)

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

[VisioLegacyBinaryImportOptions.cs:5](https://github.com/EvotecIT/OfficeIMO/blob/7ec35b56681dcc2c23d4f60c510736d847931d7a/OfficeIMO.Visio/VisioLegacyBinaryImportOptions.cs#L5)

Source bytes, compound streams, records, projected items and text budgets.

`public int MaxDecompressedBytes { get; set; }` [#](#property-maxdecompressedbytes)

[VisioLegacyBinaryImportOptions.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/7ec35b56681dcc2c23d4f60c510736d847931d7a/OfficeIMO.Visio/VisioLegacyBinaryImportOptions.cs#L8)

Maximum cumulative bytes decoded from distinct native streams. Default: 128 MiB.

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

[VisioLegacyBinaryImportOptions.cs:11](https://github.com/EvotecIT/OfficeIMO/blob/7ec35b56681dcc2c23d4f60c510736d847931d7a/OfficeIMO.Visio/VisioLegacyBinaryImportOptions.cs#L11)

Maximum pointer and reconstructed shape nesting depth. Default: 64.

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