# PowerPointTemplateCreationOptionsFluent

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

Class 

`OfficeIMO.PowerPoint`

**Namespace**

`OfficeIMO.PowerPoint`

**Assembly**

`OfficeIMO.PowerPoint`

**Modifiers**

static

The fluent methods of [PowerPointTemplateCreationOptions](/api/powerpoint/officeimo-powerpoint-powerpointtemplatecreationoptions/), 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
- PowerPointTemplateCreationOptionsFluent

Filter members 

Show inherited

## Methods

`public static PowerPointTemplateCreationOptions HideRetainedSourceSlides(PowerPointTemplateCreationOptions powerPointTemplateCreationOptions, bool value = true)` [#](#method-hideretainedsourceslides-officeimo-powerpoint-powerpointtemplatecreationoptions-boolean)

Sets [PowerPointTemplateCreationOptions.HideRetainedSourceSlides](/api/powerpoint/officeimo-powerpoint-powerpointtemplatecreationoptions/): Marks retained source slides hidden, useful for reference or appendix templates.

Parameters

**powerPointTemplateCreationOptions OfficeIMO.PowerPoint.PowerPointTemplateCreationOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`PowerPointTemplateCreationOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                                               // C# fluent
new global::OfficeIMO.PowerPoint.PowerPointTemplateCreationOptions { HideRetainedSourceSlides = value };    powerPointTemplateCreationOptions.HideRetainedSourceSlides(value);
```

`public static PowerPointTemplateCreationOptions Overwrite(PowerPointTemplateCreationOptions powerPointTemplateCreationOptions, bool value = true)` [#](#method-overwrite-officeimo-powerpoint-powerpointtemplatecreationoptions-boolean)

Sets [PowerPointTemplateCreationOptions.Overwrite](/api/powerpoint/officeimo-powerpoint-powerpointtemplatecreationoptions/): Allows replacing an existing output file.

Parameters

**powerPointTemplateCreationOptions OfficeIMO.PowerPoint.PowerPointTemplateCreationOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`PowerPointTemplateCreationOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                                // C# fluent
new global::OfficeIMO.PowerPoint.PowerPointTemplateCreationOptions { Overwrite = value };    powerPointTemplateCreationOptions.Overwrite(value);
```

`public static PowerPointTemplateCreationOptions SlideRetention(PowerPointTemplateCreationOptions powerPointTemplateCreationOptions, PowerPointTemplateSlideRetention value)` [#](#method-slideretention-officeimo-powerpoint-powerpointtemplatecreationoptions-officeimo-powerpoint-powerpointtemplateslideretention)

Sets [PowerPointTemplateCreationOptions.SlideRetention](/api/powerpoint/officeimo-powerpoint-powerpointtemplatecreationoptions/): Source-slide retention policy.

Parameters

**powerPointTemplateCreationOptions OfficeIMO.PowerPoint.PowerPointTemplateCreationOptions required**

The instance.

**value OfficeIMO.PowerPoint.PowerPointTemplateSlideRetention required**

The value.

Returns

`PowerPointTemplateCreationOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                                     // C# fluent
new global::OfficeIMO.PowerPoint.PowerPointTemplateCreationOptions { SlideRetention = value };    powerPointTemplateCreationOptions.SlideRetention(value);
```

`public static PowerPointTemplateCreationOptions SourceSlideIndex(PowerPointTemplateCreationOptions powerPointTemplateCreationOptions, int item)` [#](#method-sourceslideindex-officeimo-powerpoint-powerpointtemplatecreationoptions-int32)

Adds an item to [PowerPointTemplateCreationOptions.SourceSlideIndexes](/api/powerpoint/officeimo-powerpoint-powerpointtemplatecreationoptions/): Zero-based source slide indexes used when [PowerPointTemplateCreationOptions.SlideRetention](/api/powerpoint/officeimo-powerpoint-powerpointtemplatecreationoptions/) is Selected.

Parameters

**powerPointTemplateCreationOptions OfficeIMO.PowerPoint.PowerPointTemplateCreationOptions required**

The instance.

**item int required**

The item.

Returns

`PowerPointTemplateCreationOptions` The same instance.

`public static PowerPointTemplateCreationOptions SourceSlideIndexes(PowerPointTemplateCreationOptions powerPointTemplateCreationOptions, IEnumerable<int> items)` [#](#method-sourceslideindexes-officeimo-powerpoint-powerpointtemplatecreationoptions-collections-generic-ienumerable-system-int32)

Adds items to [PowerPointTemplateCreationOptions.SourceSlideIndexes](/api/powerpoint/officeimo-powerpoint-powerpointtemplatecreationoptions/): Zero-based source slide indexes used when [PowerPointTemplateCreationOptions.SlideRetention](/api/powerpoint/officeimo-powerpoint-powerpointtemplatecreationoptions/) is Selected.

Parameters

**powerPointTemplateCreationOptions OfficeIMO.PowerPoint.PowerPointTemplateCreationOptions required**

The instance.

**items System.Collections.Generic.IEnumerable<int> required**

The items, in order.

Returns

`PowerPointTemplateCreationOptions` The same instance.

## 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:B4F94B8B4938C8A52095A475B29C9438A6845066E562F7CDCBC5B11312F9ED78 -->
