# PowerPointLoadOptionsFluent

The fluent methods of PowerPointLoadOptions, generated from its public properties: A property-named method sets a property and a singular-named method adds…

Class 

`OfficeIMO.PowerPoint`

**Namespace**

`OfficeIMO.PowerPoint`

**Assembly**

`OfficeIMO.PowerPoint`

**Modifiers**

static

The fluent methods of [PowerPointLoadOptions](/api/powerpoint/officeimo-powerpoint-powerpointloadoptions/), generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

## Inheritance

- object
- PowerPointLoadOptionsFluent

Filter members 

Show inherited

## Methods

`public static PowerPointLoadOptions AccessMode(PowerPointLoadOptions powerPointLoadOptions, DocumentAccessMode value)` [#](#method-accessmode-officeimo-powerpoint-powerpointloadoptions-officeimo-documentaccessmode)

Sets DocumentLoadOptions.AccessMode.

Parameters

**powerPointLoadOptions OfficeIMO.PowerPoint.PowerPointLoadOptions required**

The instance.

**value OfficeIMO.DocumentAccessMode required**

The value.

Returns

`PowerPointLoadOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                     // C# fluent
new global::OfficeIMO.PowerPoint.PowerPointLoadOptions { AccessMode = value };    powerPointLoadOptions.AccessMode(value);
```

`public static PowerPointLoadOptions AllowLegacyProjection(PowerPointLoadOptions powerPointLoadOptions, bool value = true)` [#](#method-allowlegacyprojection-officeimo-powerpoint-powerpointloadoptions-boolean)

Sets [PowerPointLoadOptions.AllowLegacyProjection](/api/powerpoint/officeimo-powerpoint-powerpointloadoptions/): Allows native binary PPT projection into an Open XML model. Default: true. False rejects that source family before secondary payload projection, including mislabeled input.

Parameters

**powerPointLoadOptions OfficeIMO.PowerPoint.PowerPointLoadOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`PowerPointLoadOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                                // C# fluent
new global::OfficeIMO.PowerPoint.PowerPointLoadOptions { AllowLegacyProjection = value };    powerPointLoadOptions.AllowLegacyProjection(value);
```

`public static PowerPointLoadOptions CaptureSourcePackageSecurity(PowerPointLoadOptions powerPointLoadOptions, bool value = true)` [#](#method-capturesourcepackagesecurity-officeimo-powerpoint-powerpointloadoptions-boolean)

Sets DocumentLoadOptions.CaptureSourcePackageSecurity.

Parameters

**powerPointLoadOptions OfficeIMO.PowerPoint.PowerPointLoadOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`PowerPointLoadOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                                       // C# fluent
new global::OfficeIMO.PowerPoint.PowerPointLoadOptions { CaptureSourcePackageSecurity = value };    powerPointLoadOptions.CaptureSourcePackageSecurity(value);
```

`public static PowerPointLoadOptions MaxCommentCount(PowerPointLoadOptions powerPointLoadOptions, int value)` [#](#method-maxcommentcount-officeimo-powerpoint-powerpointloadoptions-int32)

Sets [PowerPointLoadOptions.MaxCommentCount](/api/powerpoint/officeimo-powerpoint-powerpointloadoptions/): Gets or sets the maximum aggregate number of decoded comments.

Parameters

**powerPointLoadOptions OfficeIMO.PowerPoint.PowerPointLoadOptions required**

The instance.

**value int required**

The value.

Returns

`PowerPointLoadOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                          // C# fluent
new global::OfficeIMO.PowerPoint.PowerPointLoadOptions { MaxCommentCount = value };    powerPointLoadOptions.MaxCommentCount(value);
```

`public static PowerPointLoadOptions MaxConnectorRuleCount(PowerPointLoadOptions powerPointLoadOptions, int value)` [#](#method-maxconnectorrulecount-officeimo-powerpoint-powerpointloadoptions-int32)

Sets [PowerPointLoadOptions.MaxConnectorRuleCount](/api/powerpoint/officeimo-powerpoint-powerpointloadoptions/): Gets or sets the maximum aggregate number of decoded connector rules.

Parameters

**powerPointLoadOptions OfficeIMO.PowerPoint.PowerPointLoadOptions required**

The instance.

**value int required**

The value.

Returns

`PowerPointLoadOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                                // C# fluent
new global::OfficeIMO.PowerPoint.PowerPointLoadOptions { MaxConnectorRuleCount = value };    powerPointLoadOptions.MaxConnectorRuleCount(value);
```

`public static PowerPointLoadOptions MaxDecodedStorageBytes(PowerPointLoadOptions powerPointLoadOptions, long value)` [#](#method-maxdecodedstoragebytes-officeimo-powerpoint-powerpointloadoptions-int64)

Sets [PowerPointLoadOptions.MaxDecodedStorageBytes](/api/powerpoint/officeimo-powerpoint-powerpointloadoptions/): Maximum aggregate decoded storage bytes in a legacy presentation.

Parameters

**powerPointLoadOptions OfficeIMO.PowerPoint.PowerPointLoadOptions required**

The instance.

**value long required**

The value.

Returns

`PowerPointLoadOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                                 // C# fluent
new global::OfficeIMO.PowerPoint.PowerPointLoadOptions { MaxDecodedStorageBytes = value };    powerPointLoadOptions.MaxDecodedStorageBytes(value);
```

`public static PowerPointLoadOptions MaxInputBytes(PowerPointLoadOptions powerPointLoadOptions, long? value)` [#](#method-maxinputbytes-officeimo-powerpoint-powerpointloadoptions-nullable-system-int64)

Sets [PowerPointLoadOptions.MaxInputBytes](/api/powerpoint/officeimo-powerpoint-powerpointloadoptions/): Maximum presentation bytes buffered by load APIs. Default: 512 MiB. Set to null to disable this compatibility guard.

Parameters

**powerPointLoadOptions OfficeIMO.PowerPoint.PowerPointLoadOptions required**

The instance.

**value long? required**

The value.

Returns

`PowerPointLoadOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                        // C# fluent
new global::OfficeIMO.PowerPoint.PowerPointLoadOptions { MaxInputBytes = value };    powerPointLoadOptions.MaxInputBytes(value);
```

`public static PowerPointLoadOptions MaxLegacyInputBytes(PowerPointLoadOptions powerPointLoadOptions, int value)` [#](#method-maxlegacyinputbytes-officeimo-powerpoint-powerpointloadoptions-int32)

Sets [PowerPointLoadOptions.MaxLegacyInputBytes](/api/powerpoint/officeimo-powerpoint-powerpointloadoptions/): Maximum binary source bytes.

Parameters

**powerPointLoadOptions OfficeIMO.PowerPoint.PowerPointLoadOptions required**

The instance.

**value int required**

The value.

Returns

`PowerPointLoadOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                              // C# fluent
new global::OfficeIMO.PowerPoint.PowerPointLoadOptions { MaxLegacyInputBytes = value };    powerPointLoadOptions.MaxLegacyInputBytes(value);
```

`public static PowerPointLoadOptions MaxMasterCount(PowerPointLoadOptions powerPointLoadOptions, int value)` [#](#method-maxmastercount-officeimo-powerpoint-powerpointloadoptions-int32)

Sets [PowerPointLoadOptions.MaxMasterCount](/api/powerpoint/officeimo-powerpoint-powerpointloadoptions/): Gets or sets the maximum number of decoded main and title masters.

Parameters

**powerPointLoadOptions OfficeIMO.PowerPoint.PowerPointLoadOptions required**

The instance.

**value int required**

The value.

Returns

`PowerPointLoadOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                         // C# fluent
new global::OfficeIMO.PowerPoint.PowerPointLoadOptions { MaxMasterCount = value };    powerPointLoadOptions.MaxMasterCount(value);
```

`public static PowerPointLoadOptions MaxRecordCount(PowerPointLoadOptions powerPointLoadOptions, int value)` [#](#method-maxrecordcount-officeimo-powerpoint-powerpointloadoptions-int32)

Sets [PowerPointLoadOptions.MaxRecordCount](/api/powerpoint/officeimo-powerpoint-powerpointloadoptions/): Gets or sets the maximum number of binary records traversed.

Parameters

**powerPointLoadOptions OfficeIMO.PowerPoint.PowerPointLoadOptions required**

The instance.

**value int required**

The value.

Returns

`PowerPointLoadOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                         // C# fluent
new global::OfficeIMO.PowerPoint.PowerPointLoadOptions { MaxRecordCount = value };    powerPointLoadOptions.MaxRecordCount(value);
```

`public static PowerPointLoadOptions MaxRecordDepth(PowerPointLoadOptions powerPointLoadOptions, int value)` [#](#method-maxrecorddepth-officeimo-powerpoint-powerpointloadoptions-int32)

Sets [PowerPointLoadOptions.MaxRecordDepth](/api/powerpoint/officeimo-powerpoint-powerpointloadoptions/): Gets or sets the maximum nested record depth.

Parameters

**powerPointLoadOptions OfficeIMO.PowerPoint.PowerPointLoadOptions required**

The instance.

**value int required**

The value.

Returns

`PowerPointLoadOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                         // C# fluent
new global::OfficeIMO.PowerPoint.PowerPointLoadOptions { MaxRecordDepth = value };    powerPointLoadOptions.MaxRecordDepth(value);
```

`public static PowerPointLoadOptions MaxSlideCount(PowerPointLoadOptions powerPointLoadOptions, int value)` [#](#method-maxslidecount-officeimo-powerpoint-powerpointloadoptions-int32)

Sets [PowerPointLoadOptions.MaxSlideCount](/api/powerpoint/officeimo-powerpoint-powerpointloadoptions/): Gets or sets the maximum number of decoded slides.

Parameters

**powerPointLoadOptions OfficeIMO.PowerPoint.PowerPointLoadOptions required**

The instance.

**value int required**

The value.

Returns

`PowerPointLoadOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                        // C# fluent
new global::OfficeIMO.PowerPoint.PowerPointLoadOptions { MaxSlideCount = value };    powerPointLoadOptions.MaxSlideCount(value);
```

`public static PowerPointLoadOptions MaxTextStyle9EntryCount(PowerPointLoadOptions powerPointLoadOptions, int value)` [#](#method-maxtextstyle9entrycount-officeimo-powerpoint-powerpointloadoptions-int32)

Sets [PowerPointLoadOptions.MaxTextStyle9EntryCount](/api/powerpoint/officeimo-powerpoint-powerpointloadoptions/): Gets or sets the maximum number of PPT9 style entries decoded for one text body.

Parameters

**powerPointLoadOptions OfficeIMO.PowerPoint.PowerPointLoadOptions required**

The instance.

**value int required**

The value.

Returns

`PowerPointLoadOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                                  // C# fluent
new global::OfficeIMO.PowerPoint.PowerPointLoadOptions { MaxTextStyle9EntryCount = value };    powerPointLoadOptions.MaxTextStyle9EntryCount(value);
```

OpenSettings 2 overloads

`public static PowerPointLoadOptions OpenSettings(PowerPointLoadOptions powerPointLoadOptions, OfficeOpenXmlLoadSettings? value)` [#](#method-opensettings-officeimo-powerpoint-powerpointloadoptions-officeimo-officeopenxmlloadsettings)

Sets [PowerPointLoadOptions.OpenSettings](/api/powerpoint/officeimo-powerpoint-powerpointloadoptions/): Provides optional low-level Open XML package settings.

Parameters

**powerPointLoadOptions OfficeIMO.PowerPoint.PowerPointLoadOptions required**

The instance.

**value OfficeIMO.OfficeOpenXmlLoadSettings? required**

The value.

Returns

`PowerPointLoadOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                       // C# fluent
new global::OfficeIMO.PowerPoint.PowerPointLoadOptions { OpenSettings = value };    powerPointLoadOptions.OpenSettings(value);
```

`public static PowerPointLoadOptions OpenSettings(PowerPointLoadOptions powerPointLoadOptions, Action<OfficeOpenXmlLoadSettings> configure)` [#](#method-opensettings-officeimo-powerpoint-powerpointloadoptions-action-officeimo-officeopenxmlloadsettings)

Configures [PowerPointLoadOptions.OpenSettings](/api/powerpoint/officeimo-powerpoint-powerpointloadoptions/) in place (creating it when not set): Provides optional low-level Open XML package settings.

Parameters

**powerPointLoadOptions OfficeIMO.PowerPoint.PowerPointLoadOptions required**

The instance.

**configure System.Action<OfficeIMO.OfficeOpenXmlLoadSettings> required**

Configures the value.

Returns

`PowerPointLoadOptions` The same instance.

PackageSecurity 2 overloads

`public static PowerPointLoadOptions PackageSecurity(PowerPointLoadOptions powerPointLoadOptions, OfficePackageSecurityOptions? value)` [#](#method-packagesecurity-officeimo-powerpoint-powerpointloadoptions-officeimo-officepackagesecurityoptions)

Sets DocumentLoadOptions.PackageSecurity.

Parameters

**powerPointLoadOptions OfficeIMO.PowerPoint.PowerPointLoadOptions required**

The instance.

**value OfficeIMO.OfficePackageSecurityOptions? required**

The value.

Returns

`PowerPointLoadOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                          // C# fluent
new global::OfficeIMO.PowerPoint.PowerPointLoadOptions { PackageSecurity = value };    powerPointLoadOptions.PackageSecurity(value);
```

`public static PowerPointLoadOptions PackageSecurity(PowerPointLoadOptions powerPointLoadOptions, Action<OfficePackageSecurityOptions> configure)` [#](#method-packagesecurity-officeimo-powerpoint-powerpointloadoptions-action-officeimo-officepackagesecurityoptions)

Configures DocumentLoadOptions.PackageSecurity in place (creating it when not set).

Parameters

**powerPointLoadOptions OfficeIMO.PowerPoint.PowerPointLoadOptions required**

The instance.

**configure System.Action<OfficeIMO.OfficePackageSecurityOptions> required**

Configures the value.

Returns

`PowerPointLoadOptions` The same instance.

`public static PowerPointLoadOptions Password(PowerPointLoadOptions powerPointLoadOptions, string? value)` [#](#method-password-officeimo-powerpoint-powerpointloadoptions-string)

Sets [PowerPointLoadOptions.Password](/api/powerpoint/officeimo-powerpoint-powerpointloadoptions/): Password used to open an encrypted source.

Parameters

**powerPointLoadOptions OfficeIMO.PowerPoint.PowerPointLoadOptions required**

The instance.

**value string? required**

The value.

Returns

`PowerPointLoadOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                   // C# fluent
new global::OfficeIMO.PowerPoint.PowerPointLoadOptions { Password = value };    powerPointLoadOptions.Password(value);
```

`public static PowerPointLoadOptions PersistenceMode(PowerPointLoadOptions powerPointLoadOptions, DocumentPersistenceMode value)` [#](#method-persistencemode-officeimo-powerpoint-powerpointloadoptions-officeimo-documentpersistencemode)

Sets DocumentCreateOptions.PersistenceMode.

Parameters

**powerPointLoadOptions OfficeIMO.PowerPoint.PowerPointLoadOptions required**

The instance.

**value OfficeIMO.DocumentPersistenceMode required**

The value.

Returns

`PowerPointLoadOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                          // C# fluent
new global::OfficeIMO.PowerPoint.PowerPointLoadOptions { PersistenceMode = value };    powerPointLoadOptions.PersistenceMode(value);
```

`public static PowerPointLoadOptions ReportUnsupportedContent(PowerPointLoadOptions powerPointLoadOptions, bool value = true)` [#](#method-reportunsupportedcontent-officeimo-powerpoint-powerpointloadoptions-boolean)

Sets [PowerPointLoadOptions.ReportUnsupportedContent](/api/powerpoint/officeimo-powerpoint-powerpointloadoptions/): Gets or sets whether recognized but unsupported content is reported as warnings.

Parameters

**powerPointLoadOptions OfficeIMO.PowerPoint.PowerPointLoadOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`PowerPointLoadOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                                   // C# fluent
new global::OfficeIMO.PowerPoint.PowerPointLoadOptions { ReportUnsupportedContent = value };    powerPointLoadOptions.ReportUnsupportedContent(value);
```

## 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?`

<!-- PowerForge markdown artifact sha256:331DAAD8D592E840C9F68B9C4333431565053F04636A96F8F89DFF9F4E4105F9 -->
