Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PowerPointSlideMasterFluent

OfficeIMO.PowerPoint

Namespace
OfficeIMO.PowerPoint
Assembly
OfficeIMO.PowerPoint
Modifiers
static

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

Methods

public static PowerPointSlideMaster BackgroundColor(PowerPointSlideMaster powerPointSlideMaster, 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

powerPointSlideMaster OfficeIMO.PowerPoint.PowerPointSlideMaster required
The instance.
value OfficeIMO.OfficeColor? required
The value.

Returns

PowerPointSlideMaster The same instance.

Examples

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

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

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

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

// C# initializer or property          // C# fluent
powerPointSlideMaster.Name = value;    powerPointSlideMaster.Name(value);