Class SlideCollection
A typed collection of Slide objects on a Presentation. Inherits all List<T> operations and adds Add() (create new slide) and AddClone(Slide) convenience methods.
Implements
Inherited Members
Namespace: DRIT.Presentation
Assembly: DRIT.Presentation.dll
Syntax
public class SlideCollection : List<Slide>, IList<Slide>, ICollection<Slide>, IList, ICollection, IReadOnlyList<Slide>, IReadOnlyCollection<Slide>, IEnumerable<Slide>, IEnumerable
Methods
Add()
Creates and appends a new empty slide to the end of the collection. Equivalent to AddSlide().
Declaration
public Slide Add()
Returns
| Type | Description |
|---|---|
| Slide | The newly created slide. |
AddClone(Slide)
Deep-clones source and appends the clone to the
end of the collection. Equivalent to
AddClone(Slide).
Declaration
public Slide AddClone(Slide source)
Parameters
| Type | Name | Description |
|---|---|---|
| Slide | source | The slide to clone. |
Returns
| Type | Description |
|---|---|
| Slide | The newly appended clone. |
AddClone(Slide, CloneContext)
Deep-clones source and appends the clone to the
end of the collection using context for
cross-presentation relationship mapping.
Declaration
public Slide AddClone(Slide source, CloneContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| Slide | source | The slide to clone. |
| CloneContext | context | The source-to-destination clone context. |
Returns
| Type | Description |
|---|---|
| Slide | The newly appended clone. |