Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PowerPointMasterSurfaceFluent

OfficeIMO.PowerPoint

Namespace
OfficeIMO.PowerPoint
Assembly
OfficeIMO.PowerPoint
Modifiers
static

The fluent methods of PowerPointMasterSurface, 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
  • PowerPointMasterSurfaceFluent

Methods

public static TSelf BackgroundColor<TSelf>(TSelf powerPointMasterSurface, 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.

Type Parameters

TSelf

Parameters

powerPointMasterSurface TSelf required
The instance.
value OfficeIMO.OfficeColor? required
The value.

Returns

TSelf The same instance.

Examples

// C# initializer or property                       // C# fluent
powerPointMasterSurface.BackgroundColor = value;    powerPointMasterSurface.BackgroundColor(value);
BackgroundImage``1 2 overloads
public static TSelf BackgroundImage<TSelf>(TSelf powerPointMasterSurface, string imagePath) #

Sets a stretched background picture.

Type Parameters

TSelf

Parameters

powerPointMasterSurface TSelf required
The instance.
imagePath string required
The value.

Returns

TSelf The same instance.
public static TSelf BackgroundImage<TSelf>(TSelf powerPointMasterSurface, Stream image, OfficeImageFormat imageType) #

Sets a stretched background picture from a stream.

Type Parameters

TSelf

Parameters

powerPointMasterSurface TSelf required
The instance.
image System.IO.Stream required
The value.
imageType OfficeIMO.Drawing.OfficeImageFormat required
The value.

Returns

TSelf The same instance.
public static TSelf Name<TSelf>(TSelf powerPointMasterSurface, string value) #

Sets PowerPointMasterSurface.Name: Display name shown in PowerPoint's Slide Master view.

Type Parameters

TSelf

Parameters

powerPointMasterSurface TSelf required
The instance.
value string required
The value.

Returns

TSelf The same instance.

Examples

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