Class SlideBackground
Represents the background of a slide, slide master, or slide layout.
Maps to the OOXML p:cSld/p:bg element.
Inherited Members
Namespace: DRIT.Presentation
Assembly: DRIT.Presentation.dll
Syntax
public class SlideBackground
Constructors
SlideBackground()
Initializes a new instance of the SlideBackground class.
Declaration
public SlideBackground()
Properties
Fill
Gets the fill applied to the background. Use Type to select solid, gradient, picture, or no fill.
Declaration
public Fill Fill { get; }
Property Value
| Type | Description |
|---|---|
| Fill |
StyleReferenceColor
Gets or sets the placeholder colour supplied by a theme background-style reference. Used when the referenced background fill cannot be materialized by the current renderer.
Declaration
public DrawingColor StyleReferenceColor { get; set; }
Property Value
| Type | Description |
|---|---|
| DrawingColor |
StyleReferenceIndex
Gets or sets the style-matrix reference index when the background
references a theme background fill rather than an explicit fill.
null when the background uses an explicit Fill.
Declaration
public int? StyleReferenceIndex { get; set; }
Property Value
| Type | Description |
|---|---|
| int? |
Visible
Gets or sets whether the background is visible.
When false, the background element is omitted on save,
causing the slide to inherit from its layout or master.
Declaration
public bool Visible { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |