ISlideCollection Interface

Represents a collection of a slides.

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 20.11.0.0 (20.11)
Syntax
public interface ISlideCollection : IGenericCollection<ISlide>, 
	IEnumerable<ISlide>, IEnumerable, ICollection

The ISlideCollection type exposes the following members.

Properties
Methods
  NameDescription
Public methodAddClone(ISlide)
Adds a copy of a specified slide to the end of the collection.
Public methodAddClone(ISlide, ILayoutSlide)
Adds a copy of a specified slide to the end of the collection.
Public methodCode exampleAddClone(ISlide, ISection)
Adds a copy of a specified slide to the end of the specified section.
Public methodAddClone(ISlide, IMasterSlide, Boolean)
Adds a copy of a specified source slide to the end of the collection. Appropriate layout will be selected automatically from the specified master (appropriate layout is the layout with the same Type or Name as of layout of the source slide). If there is no appropriate layout then layout of the source slide will be cloned (if allowCloneMissingLayout is true) or PptxEditException will be thrown (if allowCloneMissingLayout is false).
Public methodAddEmptySlide
Adds a new empty slide to the end of the collection.
Public methodAddFromHtml(Stream)
Creates slides from HTML text and adds them to the end of the collection.
Public methodAddFromHtml(TextReader)
Creates slides from HTML text and adds them to the end of the collection.
Public methodAddFromHtml(String)
Creates slides from HTML text and adds them to the end of the collection.
Public methodAddFromHtml(Stream, IExternalResourceResolver, String)
Creates slides from HTML text and adds them to the end of the collection.
Public methodAddFromHtml(TextReader, IExternalResourceResolver, String)
Creates slides from HTML text and adds them to the end of the collection.
Public methodAddFromHtml(String, IExternalResourceResolver, String)
Creates slides from HTML text and adds them to the end of the collection.
Public methodCopyTo (Inherited from ICollection.)
Public methodGetEnumerator (Inherited from IEnumerableISlide.)
Public methodIndexOf
Returns an index of the specified slide in the collection.
Public methodInsertClone(Int32, ISlide)
Inserts a copy of a specified slide to specified position of the collection.
Public methodInsertClone(Int32, ISlide, ILayoutSlide)
Inserts a copy of a specified slide to specified position of the collection.
Public methodInsertClone(Int32, ISlide, IMasterSlide, Boolean)
Inserts a copy of a specified source slide to specified position of the collection. Appropriate layout will be selected automatically from the specified master (appropriate layout is the layout with the same Type or Name as of layout of the source slide). If there is no appropriate layout then layout of the source slide will be cloned (if allowCloneMissingLayout is true) or PptxEditException will be thrown (if allowCloneMissingLayout is false).
Public methodInsertEmptySlide
Inserts a copy of a specified slide to specified position of the collection.
Public methodInsertFromHtml(Int32, Stream)
Creates slides from HTML text and inserts them to the collection at the specified position.
Public methodInsertFromHtml(Int32, TextReader)
Creates slides from HTML text and inserts them to the collection at the specified position.
Public methodInsertFromHtml(Int32, String)
Creates slides from HTML text and inserts them to the collection at the specified position.
Public methodInsertFromHtml(Int32, Stream, IExternalResourceResolver, String)
Creates slides from HTML text and inserts them to the collection at the specified position.
Public methodInsertFromHtml(Int32, TextReader, IExternalResourceResolver, String)
Creates slides from HTML text and inserts them to the collection at the specified position.
Public methodInsertFromHtml(Int32, String, IExternalResourceResolver, String)
Creates slides from HTML text and inserts them to the collection at the specified position.
Public methodRemove
Removes the first occurrence of a specific object from the collection.
Public methodRemoveAt
Removes the element at the specified index of the collection.
Public methodReorder(Int32, ISlide)
Moves slide from the collection to the specified position.
Public methodReorder(Int32, ISlide)
Moves slides from the collection to the specified position. Slides will be placed starting from index in order they appear in list.
Public methodToArray
Creates and returns an array with all slides in it.
Public methodToArray(Int32, Int32)
Creates and returns an array with all slides from the specified range in it.
See Also