ISlideCollection

ISlideCollection interface

Represents a collection of a slides.

public interface ISlideCollection : IGenericCollection<ISlide>

Properties

NameDescription
Item { get; }Gets the element at the specified index. Read-only ISlide.

Methods

NameDescription
AddClone(ISlide)Adds a copy of a specified slide to the end of the collection.
AddClone(ISlide, ILayoutSlide)Adds a copy of a specified slide to the end of the collection.
AddClone(ISlide, ISection)Adds a copy of a specified slide to the end of the specified section.
AddClone(ISlide, IMasterSlide, bool)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).
AddEmptySlide(ILayoutSlide)Adds a new empty slide to the end of the collection.
AddFromHtml(Stream)Creates slides from HTML text and adds them to the end of the collection.
AddFromHtml(string)Creates slides from HTML text and adds them to the end of the collection.
AddFromHtml(TextReader)Creates slides from HTML text and adds them to the end of the collection.
AddFromHtml(Stream, IExternalResourceResolver, string)Creates slides from HTML text and adds them to the end of the collection.
AddFromHtml(string, IExternalResourceResolver, string)Creates slides from HTML text and adds them to the end of the collection.
AddFromHtml(TextReader, IExternalResourceResolver, string)Creates slides from HTML text and adds them to the end of the collection.
AddFromPdf(Stream)Creates slides from the PDF document and adds them to the end of the collection.
AddFromPdf(string)Creates slides from the PDF document and adds them to the end of the collection.
AddFromPdf(Stream, PdfImportOptions)Creates slides from the PDF document and adds them to the end of the collection.
AddFromPdf(string, PdfImportOptions)Creates slides from the PDF document and adds them to the end of the collection considering the pdf import options.
IndexOf(ISlide)Returns an index of the specified slide in the collection.
InsertClone(int, ISlide)Inserts a copy of a specified slide to specified position of the collection.
InsertClone(int, ISlide, ILayoutSlide)Inserts a copy of a specified slide to specified position of the collection.
InsertClone(int, ISlide, IMasterSlide, bool)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).
InsertEmptySlide(int, ILayoutSlide)Inserts a copy of a specified slide to specified position of the collection.
InsertFromHtml(int, Stream)Creates slides from HTML text and inserts them to the collection at the specified position.
InsertFromHtml(int, string)Creates slides from HTML text and inserts them to the collection at the specified position.
InsertFromHtml(int, TextReader)Creates slides from HTML text and inserts them to the collection at the specified position.
InsertFromHtml(int, Stream, IExternalResourceResolver, string)Creates slides from HTML text and inserts them to the collection at the specified position.
InsertFromHtml(int, string, IExternalResourceResolver, string)Creates slides from HTML text and inserts them to the collection at the specified position.
InsertFromHtml(int, TextReader, IExternalResourceResolver, string)Creates slides from HTML text and inserts them to the collection at the specified position.
Remove(ISlide)Removes the first occurrence of a specific object from the collection.
RemoveAt(int)Removes the element at the specified index of the collection.
Reorder(int, ISlide)Moves slide from the collection to the specified position.
Reorder(int, params ISlide[])Moves slides from the collection to the specified position. Slides will be placed starting from index in order they appear in list.
ToArray()Creates and returns an array with all slides in it.
ToArray(int, int)Creates and returns an array with all slides from the specified range in it.

See Also