Click or drag to resize

MasterSlideCollection Class

Represents a collection of master slides contained in the presentation.
Inheritance Hierarchy
SystemObject
  GemBox.PresentationCollection
    GemBox.PresentationCollectionMasterSlide
      GemBox.PresentationSlideObjectCollectionMasterSlide
        GemBox.PresentationMasterSlideCollection

Namespace:  GemBox.Presentation
Assembly:  GemBox.Presentation (in GemBox.Presentation.dll) Version: 21.3.35.1032 (21.3.35.1032)
Syntax
public sealed class MasterSlideCollection : SlideObjectCollection<MasterSlide>

The MasterSlideCollection type exposes the following members.

Properties
  NameDescription
Public propertyCount
Gets the number of MasterSlides contained in the collection.
Public propertyItemInt32
Gets or sets the MasterSlide at the specified index.
Public propertyItemString
Gets the MasterSlide with the specified name, if found; otherwise, .
Top
Methods
  NameDescription
Public methodAdd
Adds a MasterSlide to the end of the collection.
Public methodAddClone(MasterSlide)
Adds a clone of the source MasterSlide to the end of the collection. Clone will be formatted using the destination theme.
Public methodAddClone(MasterSlide, CloneContext)
Adds a clone of the source MasterSlide to the end of the collection.
Public methodAddNew
Adds a new MasterSlide to the end of the collection.
Public methodClear
Removes all MasterSlides from the collection.
Public methodContains
Determines whether a MasterSlide is in the collection.
Public methodGetEnumerator
Returns an enumerator that iterates through the MasterSlideCollection.
Public methodIndexOf
Searches for the specified MasterSlide and returns the zero-based index of the first occurrence within the entire collection.
Public methodInsert
Inserts a MasterSlide to the collection at the specified index.
Public methodInsertClone(Int32, MasterSlide)
Inserts a clone of the source MasterSlide to the collection at the specified index. Clone will be formatted using the destination theme.
Public methodInsertClone(Int32, MasterSlide, CloneContext)
Inserts a clone of the source MasterSlide to the collection at the specified index.
Public methodInsertNew
Inserts a new MasterSlide to the collection at the specified index.
Public methodRemove
Removes the first occurrence of a specific MasterSlide from the collection.
Public methodRemoveAt
Removes the MasterSlide at the specified index of the collection.
Top
See Also