LayoutSlideCollection

LayoutSlideCollection class

Represents a base class for collection of a layout slides.

public class LayoutSlideCollection : ILayoutSlideCollection

Properties

NameDescription
Count { get; }Returns the number of layout slides in a collection. Read-only Int32.
IsSynchronized { get; }Returns a value indicating whether access to the collection is synchronized (thread-safe). Read-only Boolean.
Item { get; }Returns the layout slide by index. Read-only LayoutSlide.
SyncRoot { get; }Returns a synchronization root. Read-only Object.

Methods

NameDescription
CopyTo(Array, int)Copies all elements from the collection to the specified array.
GetByType(SlideLayoutType)Returns the first layout slide of specified type. A type of layout slide to find.LayoutSlide with specified type or null if no layouts found.
GetEnumerator()Returns an enumerator that iterates through the collection.
Remove(ILayoutSlide)Removes a layout from the collection.
RemoveUnused()Removes unused layout slides (layout slides whose HasDependingSlides is false).

See Also