# PowerPointSlideMasterFluent

The fluent methods of PowerPointSlideMaster, 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 [PowerPointSlideMaster](/api/powerpoint/officeimo-powerpoint-powerpointslidemaster/), 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
- PowerPointSlideMasterFluent

Filter members 

Show inherited

## Methods

`public static PowerPointSlideMaster BackgroundColor(PowerPointSlideMaster powerPointSlideMaster, OfficeColor? value)` [#](#method-backgroundcolor-officeimo-powerpoint-powerpointslidemaster-nullable-officeimo-officecolor)

Sets [PowerPointMasterSurface.BackgroundColor](/api/powerpoint/officeimo-powerpoint-powerpointmastersurface/): Gets or sets a solid background. Setting null removes the local background, so a layout falls back to its master's background.

Parameters

**powerPointSlideMaster OfficeIMO.PowerPoint.PowerPointSlideMaster required**

The instance.

**value OfficeIMO.OfficeColor? required**

The value.

Returns

`PowerPointSlideMaster` The same instance.

Examples

```csharp
// C# initializer or property                     // C# fluent
powerPointSlideMaster.BackgroundColor = value;    powerPointSlideMaster.BackgroundColor(value);
```

BackgroundImage 2 overloads

`public static PowerPointSlideMaster BackgroundImage(PowerPointSlideMaster powerPointSlideMaster, string imagePath)` [#](#method-backgroundimage-officeimo-powerpoint-powerpointslidemaster-string)

Sets a stretched background picture.

Parameters

**powerPointSlideMaster OfficeIMO.PowerPoint.PowerPointSlideMaster required**

The instance.

**imagePath string required**

The value.

Returns

`PowerPointSlideMaster` The same instance.

`public static PowerPointSlideMaster BackgroundImage(PowerPointSlideMaster powerPointSlideMaster, Stream image, OfficeImageFormat imageType)` [#](#method-backgroundimage-officeimo-powerpoint-powerpointslidemaster-io-stream-officeimo-drawing-officeimageformat)

Sets a stretched background picture from a stream.

Parameters

**powerPointSlideMaster OfficeIMO.PowerPoint.PowerPointSlideMaster required**

The instance.

**image System.IO.Stream required**

The value.

**imageType OfficeIMO.Drawing.OfficeImageFormat required**

The value.

Returns

`PowerPointSlideMaster` The same instance.

`public static PowerPointSlideMaster Name(PowerPointSlideMaster powerPointSlideMaster, string value)` [#](#method-name-officeimo-powerpoint-powerpointslidemaster-string)

Sets [PowerPointMasterSurface.Name](/api/powerpoint/officeimo-powerpoint-powerpointmastersurface/): Display name shown in PowerPoint's Slide Master view.

Parameters

**powerPointSlideMaster OfficeIMO.PowerPoint.PowerPointSlideMaster required**

The instance.

**value string required**

The value.

Returns

`PowerPointSlideMaster` The same instance.

Examples

```csharp
// C# initializer or property          // C# fluent
powerPointSlideMaster.Name = value;    powerPointSlideMaster.Name(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:DB24738438706C782EAFEDFC117ED200E15A4D16129806E409197D69CA429B2F -->
