# IWorkNativeSaveOptions

Operation limits and explicit cache acceptance for saving a loaded native iWork snapshot.

Class 

`OfficeIMO.IWork`

**Namespace**

`OfficeIMO.IWork`

**Assembly**

`OfficeIMO.IWork`

**Source revision**

`273d35d5ba8a` with working tree changes

**Source**

[IWorkNativeSaveOptions.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.IWork/IWorkNativeSaveOptions.cs#L6)

**Modifiers**

sealed

Operation limits and explicit cache acceptance for saving a loaded native iWork snapshot.

## Inheritance

- object
- IWorkNativeSaveOptions

## Usage

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

- Method [IWorkNativeEditSession.Save](/api/iwork/officeimo-iwork-iworknativeeditsession/#method-save-io-stream-officeimo-iwork-iworknativesaveoptions-threading-cancellationtoken) parameter `options`
- Method [IWorkNativeEditSession.ToBytes](/api/iwork/officeimo-iwork-iworknativeeditsession/#method-tobytes-officeimo-iwork-iworknativesaveoptions-threading-cancellationtoken) parameter `options`

Filter members 

Show inherited

## Constructors

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

[IWorkNativeSaveOptions.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.IWork/IWorkNativeSaveOptions.cs#L6)

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

[IWorkNativeSaveOptions.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.IWork/IWorkNativeSaveOptions.cs#L6)

Gets or sets the maximum sum of captured file-entry bytes and the maximum encoded ZIP length, each applied separately.

`public int MaxEditedArchiveBytes { get; set; }` [#](#property-maxeditedarchivebytes)

[IWorkNativeSaveOptions.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.IWork/IWorkNativeSaveOptions.cs#L8)

Gets or sets the combined decompressed bytes of archives changed by this operation.

`public int MaxEditedRecords { get; set; }` [#](#property-maxeditedrecords)

[IWorkNativeSaveOptions.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.IWork/IWorkNativeSaveOptions.cs#L10)

Gets or sets the number of distinct edited source records permitted in one save.

`public bool AllowUnassessedVisualCaches { get; set; }` [#](#property-allowunassessedvisualcaches)

[IWorkNativeSaveOptions.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/273d35d5ba8ab8ce3f6f1238631241c0cea26d14/OfficeIMO.IWork/IWorkNativeSaveOptions.cs#L14)

Gets or sets explicit acceptance that edited packages retain native previews and other visual caches without refreshing them.

<!-- PowerForge markdown artifact sha256:8D44B517964589EBC144239F41A890AE470CFA5BE1AB26917FDB794267FA70D2 -->
