MasterSlideCollection

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

NameTypeAccessDescription
CountintReadGets the count.
AsICollectionIList<IMasterSlide>ReadGets the as i collection.
AsIEnumerableIEnumerable<IMasterSlide>ReadGets the as i enumerable.

Methods

SignatureDescription
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.

See Also