# PowerPointSlideLayoutFluent

The fluent methods of PowerPointSlideLayout, 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 [PowerPointSlideLayout](/api/powerpoint/officeimo-powerpoint-powerpointslidelayout/), 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
- PowerPointSlideLayoutFluent

Filter members 

Show inherited

## Methods

`public static PowerPointSlideLayout BackgroundColor(PowerPointSlideLayout powerPointSlideLayout, OfficeColor? value)` [#](#method-backgroundcolor-officeimo-powerpoint-powerpointslidelayout-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

**powerPointSlideLayout OfficeIMO.PowerPoint.PowerPointSlideLayout required**

The instance.

**value OfficeIMO.OfficeColor? required**

The value.

Returns

`PowerPointSlideLayout` The same instance.

Examples

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

BackgroundImage 2 overloads

`public static PowerPointSlideLayout BackgroundImage(PowerPointSlideLayout powerPointSlideLayout, string imagePath)` [#](#method-backgroundimage-officeimo-powerpoint-powerpointslidelayout-string)

Sets a stretched background picture.

Parameters

**powerPointSlideLayout OfficeIMO.PowerPoint.PowerPointSlideLayout required**

The instance.

**imagePath string required**

The value.

Returns

`PowerPointSlideLayout` The same instance.

`public static PowerPointSlideLayout BackgroundImage(PowerPointSlideLayout powerPointSlideLayout, Stream image, OfficeImageFormat imageType)` [#](#method-backgroundimage-officeimo-powerpoint-powerpointslidelayout-io-stream-officeimo-drawing-officeimageformat)

Sets a stretched background picture from a stream.

Parameters

**powerPointSlideLayout OfficeIMO.PowerPoint.PowerPointSlideLayout required**

The instance.

**image System.IO.Stream required**

The value.

**imageType OfficeIMO.Drawing.OfficeImageFormat required**

The value.

Returns

`PowerPointSlideLayout` The same instance.

`public static PowerPointSlideLayout Master(PowerPointSlideLayout powerPointSlideLayout, Action<PowerPointSlideMaster> configure)` [#](#method-master-officeimo-powerpoint-powerpointslidelayout-action-officeimo-powerpoint-powerpointslidemaster)

Configures [PowerPointSlideLayout.Master](/api/powerpoint/officeimo-powerpoint-powerpointslidelayout/) in place: The master that owns this layout.

Parameters

**powerPointSlideLayout OfficeIMO.PowerPoint.PowerPointSlideLayout required**

The instance.

**configure System.Action<OfficeIMO.PowerPoint.PowerPointSlideMaster> required**

Configures the value.

Returns

`PowerPointSlideLayout` The same instance.

`public static PowerPointSlideLayout Name(PowerPointSlideLayout powerPointSlideLayout, string value)` [#](#method-name-officeimo-powerpoint-powerpointslidelayout-string)

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

Parameters

**powerPointSlideLayout OfficeIMO.PowerPoint.PowerPointSlideLayout required**

The instance.

**value string required**

The value.

Returns

`PowerPointSlideLayout` The same instance.

Examples

```csharp
// C# initializer or property          // C# fluent
powerPointSlideLayout.Name = value;    powerPointSlideLayout.Name(value);
```

`public static PowerPointSlideLayout ShowMasterShapes(PowerPointSlideLayout powerPointSlideLayout, bool value = true)` [#](#method-showmastershapes-officeimo-powerpoint-powerpointslidelayout-boolean)

Sets [PowerPointSlideLayout.ShowMasterShapes](/api/powerpoint/officeimo-powerpoint-powerpointslidelayout/): Whether slides using this layout also show the master's shapes.

Parameters

**powerPointSlideLayout OfficeIMO.PowerPoint.PowerPointSlideLayout required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`PowerPointSlideLayout` The same instance.

Examples

```csharp
// C# initializer or property                      // C# fluent
powerPointSlideLayout.ShowMasterShapes = value;    powerPointSlideLayout.ShowMasterShapes(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:DCA29E884EA74CE60E1C8BBFC4DB03D3989D0766A3F35A6E14A9422E22AFE865 -->
