com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Interface IMasterSlideCollection

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      IMasterSlide addClone(IMasterSlide sourceMaster)
      Adds a copy of a specified master slide to the end of the collection.
      IMasterSlide get_Item(int index)
      Gets the element at the specified index.
      IMasterSlide insertClone(int index, IMasterSlide sourceMaster)
      Inserts a copy of a specified master slide to specified position of the collection.
      void remove(IMasterSlide value)
      Removes the first occurrence of a specific object from the collection.
      void removeAt(int index)
      Removes the element at the specified index of the collection.
      void removeUnused(boolean ignorePreserveField)
      Removes unused master slides.
      • Methods inherited from interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable

        iterator
      • Methods inherited from interface com.aspose.ms.System.Collections.ICollection

        copyTo, getSyncRoot, isSynchronized, size
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Method Detail

      • remove

        void remove(IMasterSlide value)

        Removes the first occurrence of a specific object from the collection.

        Parameters:
        value - The master slide to remove from the collection.
      • removeAt

        void removeAt(int index)

        Removes the element at the specified index of the collection.

        Parameters:
        index - The zero-based index of the element to remove.
      • addClone

        IMasterSlide addClone(IMasterSlide sourceMaster)

        Adds a copy of a specified master slide to the end of the collection. Linked layout slides will be copied too.

        Parameters:
        sourceMaster - Slide to clone.
        Returns:
        Added slide.
      • insertClone

        IMasterSlide insertClone(int index,
                                 IMasterSlide sourceMaster)

        Inserts a copy of a specified master slide to specified position of the collection. Linked layout slides will be copied too.

        Parameters:
        index - Index of new slide.
        sourceMaster - Slide to clone.
        Returns:
        Inserted master slide.