Click or drag to resize

LayoutSlideCollection Class

Represents a collection of layout slides grouped under a specific master slide.
Inheritance Hierarchy
SystemObject
  GemBox.PresentationCollection
    GemBox.PresentationCollectionLayoutSlide
      GemBox.PresentationSlideObjectCollectionLayoutSlide
        GemBox.PresentationLayoutSlideCollection

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

The LayoutSlideCollection type exposes the following members.

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