LayoutSlideCollection Class

Represents a base class for collection of a layout slides.
Inheritance Hierarchy

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 22.5.0.0 (22.5)
Syntax
public class LayoutSlideCollection : ILayoutSlideCollection, 
	IGenericCollection<ILayoutSlide>, IEnumerable<ILayoutSlide>, IEnumerable, 
	ICollection

The LayoutSlideCollection type exposes the following members.

Properties
  NameDescription
Public propertyCount
Returns the number of layout slides in a collection. Read-only Int32.
Public propertyIsSynchronized
Returns a value indicating whether access to the collection is synchronized (thread-safe). Read-only Boolean.
Public propertyItem
Returns the layout slide by index. Read-only LayoutSlide.
Public propertySyncRoot
Returns a synchronization root. Read-only Object.
Methods
  NameDescription
Public methodCopyTo
Copies all elements from the collection to the specified array.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetByType
Returns the first layout slide of specified type. A type of layout slide to find.

Return Value

Type: 
LayoutSlide with specified type or null if no layouts found.
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove
Removes a layout from the collection.
Public methodRemoveUnused
Removes unused layout slides (layout slides whose HasDependingSlides is false).
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also