# PowerPointSaveOptions

Controls PowerPoint save and conversion behavior.

Class 

`OfficeIMO.PowerPoint`

**Namespace**

`OfficeIMO.PowerPoint`

**Assembly**

`OfficeIMO.PowerPoint`

**Source revision**

`12511d2fa560` with working tree changes

**Source**

[PowerPointSaveOptions.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.PowerPoint/PowerPointSaveOptions.cs#L18)

**Modifiers**

sealed

Controls PowerPoint save and conversion behavior.

## Inheritance

- object
- PowerPointSaveOptions

## Guides & Samples

Authored walkthroughs and practical samples linked to this API.

- [Remove hidden data and metadata](/docs/before-sharing/hidden-data/) Guide
  
  Inspect and remove properties, comments, tracked changes, hidden content, notes, attachments, scripts and GPS data from Office, PDF, EPUB and image files.

## Usage

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

- Method [PowerPointDocument.Save](/api/powerpoint/officeimo-powerpoint-powerpointdocument/#method-save-io-stream-officeimo-powerpoint-powerpointsaveoptions) parameter `options`
- Method [PowerPointDocument.SaveAsync](/api/powerpoint/officeimo-powerpoint-powerpointdocument/#method-saveasync-io-stream-officeimo-powerpoint-powerpointsaveoptions-threading-cancellationtoken) parameter `options`
- Method [PowerPointDocument.SaveCopy](/api/powerpoint/officeimo-powerpoint-powerpointdocument/#method-savecopy-string-officeimo-powerpoint-powerpointsaveoptions) parameter `options`
- Method [PowerPointDocument.SaveCopyAsync](/api/powerpoint/officeimo-powerpoint-powerpointdocument/#method-savecopyasync-string-officeimo-powerpoint-powerpointsaveoptions-threading-cancellationtoken) parameter `options`
- Method [PowerPointDocument.ToBytes](/api/powerpoint/officeimo-powerpoint-powerpointdocument/#method-tobytes-officeimo-powerpoint-powerpointsaveoptions) parameter `options`

Filter members 

Show inherited

## Constructors

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

[PowerPointSaveOptions.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.PowerPoint/PowerPointSaveOptions.cs#L18)

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

[PowerPointSaveOptions.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.PowerPoint/PowerPointSaveOptions.cs#L6)

Gets or sets how known conversion loss is handled.

`public PowerPointFileFormat Format { get; set; }` [#](#property-format)

[PowerPointSaveOptions.cs:9](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.PowerPoint/PowerPointSaveOptions.cs#L9)

Physical output format for streams and byte encoding.

`public OfficeSignatureMutationPolicy SignatureMutationPolicy { get; set; }` [#](#property-signaturemutationpolicy)

[PowerPointSaveOptions.cs:15](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.PowerPoint/PowerPointSaveOptions.cs#L15)

Gets or sets how saving handles digital signatures that rewriting the presentation would invalidate. The default blocks the save.

`public string? Password { get; set; }` [#](#property-password)

[PowerPointSaveOptions.cs:26](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.PowerPoint/PowerPointSaveOptions.cs#L26)

Output password. An unset value preserves loaded encryption; explicit null removes it.

`public int LegacyPptEncryptionKeySizeBits { get; set; }` [#](#property-legacypptencryptionkeysizebits)

[PowerPointSaveOptions.cs:33](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.PowerPoint/PowerPointSaveOptions.cs#L33)

Gets or sets the RC4 CryptoAPI key size used by encrypted PPT/POT/PPS saves. Valid values are 40 through 128 bits in 8-bit increments; the default is 128.

`public bool LegacyPptEncryptDocumentProperties { get; set; }` [#](#property-legacypptencryptdocumentproperties)

[PowerPointSaveOptions.cs:39](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.PowerPoint/PowerPointSaveOptions.cs#L39)

Gets or sets whether encrypted PPT/POT/PPS saves also encrypt the Office document-property streams. The default is true.

`public bool LegacyPptAllowUnencryptedCompoundStreams { get; set; }` [#](#property-legacypptallowunencryptedcompoundstreams)

[PowerPointSaveOptions.cs:47](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.PowerPoint/PowerPointSaveOptions.cs#L47)

Gets or sets whether legacy encrypted saves may retain compound streams that the RC4 CryptoAPI format does not encrypt. The default is false so password-protected output cannot silently contain unknown clear-text payloads.

<!-- PowerForge markdown artifact sha256:7AFC998364336C6092128993EF3D50E5E4ECEFC2B7D94ADCDEABCF724E72D04C -->
