GlobalLayoutSlideCollection Class

Represents a collection of all layout slides in presentation. Extends LayoutSlideCollection class with methods for adding/cloning layout slides in context of uniting of the individual collections of master's layout slides.
Inheritance Hierarchy

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 21.7.0.0 (21.7)
Syntax
public sealed class GlobalLayoutSlideCollection : LayoutSlideCollection, 
	ICollection, IEnumerable, IEnumerable<ILayoutSlide>, IGenericCollection<ILayoutSlide>, 
	ILayoutSlideCollection, IGlobalLayoutSlideCollection

The GlobalLayoutSlideCollection type exposes the following members.

Properties
  NameDescription
Public propertyCount
Returns the number of layout slides in a collection. Read-only Int32.
(Inherited from LayoutSlideCollection.)
Public propertyIsSynchronized
Returns a value indicating whether access to the collection is synchronized (thread-safe). Read-only Boolean.
(Inherited from LayoutSlideCollection.)
Public propertyItem
Returns the layout slide by index. Read-only LayoutSlide.
(Inherited from LayoutSlideCollection.)
Public propertySyncRoot
Returns a synchronization root. Read-only Object.
(Inherited from LayoutSlideCollection.)
Methods
  NameDescription
Public methodAdd
Adds a new layout slide to the presentation.
Public methodAddClone(ILayoutSlide)
Adds a copy of a specified layout slide to the presentation.
Public methodAddClone(ILayoutSlide, IMasterSlide)
Adds a copy of a specified layout slide to the presentation.
Public methodCopyTo
Copies all elements from the collection to the specified array.
(Inherited from LayoutSlideCollection.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(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.
(Inherited from LayoutSlideCollection.)
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
(Inherited from LayoutSlideCollection.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodRemove
Removes a layout from the collection.
(Inherited from LayoutSlideCollection.)
Public methodRemoveUnused
Removes unused layout slides (layout slides whose HasDependingSlides is false).
(Inherited from LayoutSlideCollection.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also