MasterSlideCollection
Overview
MasterSlideCollection is a class in Aspose.Slides FOSS for .NET.
Inherits from: IMasterSlideCollection, IEnumerable<IMasterSlide>.
Represents a collection of master slides in a presentation.
This class provides 5 methods for working with MasterSlideCollection objects in .NET programs.
Available methods include: AddClone, GetEnumerator, GetMaxMasterLayoutIdInPresentation, GetNextLayoutFileNumber, GetNextMasterFileNumber.
All public members are accessible to any .NET application after installing the Aspose.Slides FOSS for .NET package.
Properties: AsICollection, AsIEnumerable, Count.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Count | int | Read | Gets the count. |
AsICollection | IList<IMasterSlide> | Read | Gets the as i collection. |
AsIEnumerable | IEnumerable<IMasterSlide> | Read | Gets the as i enumerable. |
Methods
| Signature | Description |
|---|---|
GetEnumerator() | Returns an enumerator that iterates through the master slides. |
AddClone(sourceMaster: IMasterSlide) | Creates and adds a clone of the specified source master slide |
GetNextMasterFileNumber() | Finds the next available master slide file number. |
GetNextLayoutFileNumber() | Finds the next available layout slide file number. |
GetMaxMasterLayoutIdInPresentation() | Finds the maximum ID across all master slide IDs and layout IDs. |