Class
PowerPointSlideMasterFluent
OfficeIMO.PowerPoint
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
- The instance.
- value OfficeIMO.OfficeColor?
- The value.
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
- The instance.
- imagePath string
- The value.
public static PowerPointSlideMaster BackgroundImage(PowerPointSlideMaster powerPointSlideMaster, Stream image, OfficeImageFormat imageType) #Sets a stretched background picture from a stream.
Parameters
- powerPointSlideMaster OfficeIMO.PowerPoint.PowerPointSlideMaster
- The instance.
- image System.IO.Stream
- The value.
- imageType OfficeIMO.Drawing.OfficeImageFormat
- The value.
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
- The instance.
- value string
- The value.
Examples
// C# initializer or property // C# fluent
powerPointSlideMaster.Name = value; powerPointSlideMaster.Name(value);