SlideObject Class
Represents a base type for all slide types, such as MasterSlide, LayoutSlide, Slide and NotesSlide.
- Inheritance:
- System.ObjectSlideObject
- Derived
Properties
Background
Gets or sets the slide background.
public SlideBackground Background { get; set; }
Public Property Background As SlideBackground
Property Value
The slide background.
Content
Gets the slide's content in a form of a root GroupShape that groups all the Drawings contained on this slide.
Property Value
The slide's content in a form of a root GroupShape that groups all the Drawings contained on this slide.
ParentTemplate
Gets the parent template SlideObject or null if this SlideObject is master slide.
public SlideObject ParentTemplate { get; }
Public ReadOnly Property ParentTemplate As SlideObject
Property Value
The parent template SlideObject or null if this SlideObject is master slide.
Presentation
Gets the presentation to which this slide belongs.
public PresentationDocument Presentation { get; }
Public ReadOnly Property Presentation As PresentationDocument
Property Value
The presentation to which this slide belongs.
ShowMasterShapes
Gets or sets a value indicating whether the shapes from the ParentTemplate should be shown on this slide.
Default value is true.
Property Value
- System.Boolean
false if the shapes from ParentTemplate are hidden; otherwise, true.
Remarks
This property can be applied on layout slides, slides, and notes slides; It's ignored on master slides.
TextContent
Gets the text content of the current SlideObject.
Property Value
The text content of the current SlideObject.
Remarks
The property always returns a new instance of the TextRange class.
For more information, see Find and Replace example.
Methods
ToString()
Returns a System.String that represents this SlideObject instance.
Returns
- System.String
A System.String that represents this SlideObject instance.
Overrides
Remarks
This method should be used primarily for debugging purposes and should be considered volatile (format of its return value might change in future versions).