PowerPointSlideLayoutFluent
OfficeIMO.PowerPoint
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
- The instance.
- value OfficeIMO.OfficeColor?
- The value.
Examples
// C# initializer or property // C# fluent
powerPointSlideLayout.BackgroundColor = value; powerPointSlideLayout.BackgroundColor(value);public static PowerPointSlideLayout BackgroundImage(PowerPointSlideLayout powerPointSlideLayout, string imagePath) #Sets a stretched background picture.
Parameters
- powerPointSlideLayout OfficeIMO.PowerPoint.PowerPointSlideLayout
- The instance.
- imagePath string
- The value.
public static PowerPointSlideLayout BackgroundImage(PowerPointSlideLayout powerPointSlideLayout, Stream image, OfficeImageFormat imageType) #Sets a stretched background picture from a stream.
Parameters
- powerPointSlideLayout OfficeIMO.PowerPoint.PowerPointSlideLayout
- The instance.
- image System.IO.Stream
- The value.
- imageType OfficeIMO.Drawing.OfficeImageFormat
- The value.
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
- The instance.
- configure System.Action<OfficeIMO.PowerPoint.PowerPointSlideMaster>
- Configures the value.
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
- The instance.
- value string
- The value.
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
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
powerPointSlideLayout.ShowMasterShapes = value; powerPointSlideLayout.ShowMasterShapes(value);