Click or drag to resize

SlideCollection Class

Represents a collection of a slides.
Inheritance Hierarchy
System Object
Spire.Presentation SlideList
Spire.Presentation.Collections SlideCollection

Namespace: Spire.Presentation.Collections
Assembly: Spire.Presentation (in Spire.Presentation.dll) Version: 10.4.2.0 (10.4.2.6046)
Syntax
public sealed class SlideCollection : SlideList, 
	ICollection, IEnumerable

The SlideCollection type exposes the following members.

Properties
Name Description
Public property Count
Gets the number of elements actually contained in the collection.
(Inherited from SlideList .)
Public property IsSynchronized
Gets a value indicating whether access to the collection is synchronized (thread-safe).
Public property Item
Gets the element at the specified index. Read-only Slide .
(Inherited from SlideList .)
Public property SyncRoot
Gets a synchronization root. Readonly Object .
Top
Methods
Name Description
Public method Append
Append new slide.
(Inherited from SlideList .)
Public method Append(ILayout)
Append a new slide based on template.
(Inherited from SlideList .)
Public method Append(ISlide)
Adds a slide to the collection.
(Inherited from SlideList .)
Public method Append(SlideLayoutType) (Inherited from SlideList .)
Public method Append(ISlide, ILayout) (Inherited from SlideList .)
Public method Append(ISlide, IMasterSlide)
Adds a slide to the collection.
(Inherited from SlideList .)
Public method CopyTo
Copies all elements from the collection to the specified array.
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Public method GetEnumerator
Gets an enumerator for the entire collection.
(Inherited from SlideList .)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Public method IndexOf (Inherited from SlideList .)
Public method Insert(Int32)
Insert a empty slide to collection.
(Inherited from SlideList .)
Public method Insert(Int32, ILayout)
Insert a new slide based on template.
(Inherited from SlideList .)
Public method Insert(Int32, ISlide)
Inserts a slide to the collection.
(Inherited from SlideList .)
Public method Insert(Int32, SlideLayoutType)
Insert a slide to collection.
(Inherited from SlideList .)
Public method Insert(Int32, ISlide, ILayout) (Inherited from SlideList .)
Public method Insert(Int32, ISlide, IMasterSlide)
Inserts a slide to the collection.
(Inherited from SlideList .)
Public method Move
Moves slide from the collection to the specified position.
(Inherited from SlideList .)
Public method Remove
Removes the first occurrence of a specific object from the collection.
(Inherited from SlideList .)
Public method RemoveAt
Removes the element at the specified index of the collection.
(Inherited from SlideList .)
Public method ToArray
Creates and returns an array with all slides in it.
(Inherited from SlideList .)
Public method ToArray(Int32, Int32) (Inherited from SlideList .)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
See Also