PowerPointMasterSurfaceFluent
OfficeIMO.PowerPoint
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
- The instance.
- value OfficeIMO.OfficeColor?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
powerPointMasterSurface.BackgroundColor = value; powerPointMasterSurface.BackgroundColor(value);public static TSelf BackgroundImage<TSelf>(TSelf powerPointMasterSurface, string imagePath) #Sets a stretched background picture.
Type Parameters
- TSelf
Parameters
- powerPointMasterSurface TSelf
- The instance.
- imagePath string
- 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
- The instance.
- image System.IO.Stream
- The value.
- imageType OfficeIMO.Drawing.OfficeImageFormat
- 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
- The instance.
- value string
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
powerPointMasterSurface.Name = value; powerPointMasterSurface.Name(value);