com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Interface IVideoCollection

    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method and Description
      IVideo addVideo(byte[] videoData)
      Creates and adds a video to a presentation from byte array.
      IVideo addVideo(java.io.InputStream stream)
      Deprecated. 
      Use addVideo(InputStream stream, int loadingStreamBehavior). The method will be removed in version 17.10.
      IVideo addVideo(java.io.InputStream stream, int loadingStreamBehavior)
      Creates and adds a video to a presentation from stream.
      IVideo addVideo(IVideo video)
      Adds a copy of an video file from an another presentation.
      IVideo get_Item(int index)
      Gets the element at the specified index.
      • 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

      • get_Item

        IVideo get_Item(int index)

        Gets the element at the specified index. Read-only IVideo.

      • addVideo

        IVideo addVideo(IVideo video)

        Adds a copy of an video file from an another presentation.

        Parameters:
        video - Source video.
        Returns:
        Added video.
      • addVideo

        IVideo addVideo(java.io.InputStream stream,
                        int loadingStreamBehavior)

        Creates and adds a video to a presentation from stream.

        Parameters:
        stream - Stream to add video file from.
        loadingStreamBehavior - The behavior which will be applied to the stream.
        Returns:
        Added IVideo.
      • addVideo

        IVideo addVideo(byte[] videoData)

        Creates and adds a video to a presentation from byte array.

        Parameters:
        videoData - Video bytes.
        Returns:
        Added video.