Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PowerPointSlideLayoutFluent

OfficeIMO.PowerPoint

Namespace
OfficeIMO.PowerPoint
Assembly
OfficeIMO.PowerPoint
Modifiers
static

The fluent methods of 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

Methods

public static PowerPointSlideLayout BackgroundColor(PowerPointSlideLayout powerPointSlideLayout, OfficeColor? value) #

Sets PowerPointMasterSurface.BackgroundColor: 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

// C# initializer or property                     // C# fluent
powerPointSlideLayout.BackgroundColor = value;    powerPointSlideLayout.BackgroundColor(value);
BackgroundImage 2 overloads
public static PowerPointSlideLayout BackgroundImage(PowerPointSlideLayout powerPointSlideLayout, string imagePath) #

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) #

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) #

Configures PowerPointSlideLayout.Master 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) #

Sets PowerPointMasterSurface.Name: 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

// C# initializer or property          // C# fluent
powerPointSlideLayout.Name = value;    powerPointSlideLayout.Name(value);
public static PowerPointSlideLayout ShowMasterShapes(PowerPointSlideLayout powerPointSlideLayout, bool value = true) #

Sets PowerPointSlideLayout.ShowMasterShapes: 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

// C# initializer or property                      // C# fluent
powerPointSlideLayout.ShowMasterShapes = value;    powerPointSlideLayout.ShowMasterShapes(value);