com.aspose.slides
Class VideoExCollection

java.lang.Object
  extended by com.aspose.slides.VideoExCollection
All Implemented Interfaces:
com.aspose.ms.System.Collections.ICollection<VideoEx>, com.aspose.ms.System.Collections.IEnumerable<VideoEx>, java.lang.Iterable<VideoEx>

public class VideoExCollection
extends java.lang.Object
implements com.aspose.ms.System.Collections.ICollection<VideoEx>

Represents a collection of VideoEx objects.


Method Summary
 VideoEx addVideo(byte[] videoData)
           Creates and adds a video to a presentation from byte array.
 VideoEx addVideo(java.io.InputStream stream)
           
 VideoEx addVideo(VideoEx video)
           Adds a copy of an video file from an another presentation.
 void copyTo(com.aspose.ms.System.Array array, int index)
           
 VideoEx get_Item(int index)
           Gets the element at the specified index.
 java.lang.Object getSyncRoot()
           
 boolean isSynchronized()
           
 com.aspose.ms.System.Collections.IEnumerator<VideoEx> iterator()
           
 int size()
           Returns a number of video files in the collection.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

size

public int size()

Returns a number of video files in the collection.

Specified by:
size in interface com.aspose.ms.System.Collections.ICollection<VideoEx>

get_Item

public VideoEx get_Item(int index)

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


addVideo

public VideoEx addVideo(VideoEx video)

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

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

addVideo

public VideoEx addVideo(java.io.InputStream stream)

addVideo

public VideoEx addVideo(byte[] videoData)

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

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

copyTo

public void copyTo(com.aspose.ms.System.Array array,
                   int index)
Specified by:
copyTo in interface com.aspose.ms.System.Collections.ICollection<VideoEx>

isSynchronized

public boolean isSynchronized()
Specified by:
isSynchronized in interface com.aspose.ms.System.Collections.ICollection<VideoEx>

getSyncRoot

public java.lang.Object getSyncRoot()
Specified by:
getSyncRoot in interface com.aspose.ms.System.Collections.ICollection<VideoEx>

iterator

public com.aspose.ms.System.Collections.IEnumerator<VideoEx> iterator()
Specified by:
iterator in interface com.aspose.ms.System.Collections.IEnumerable<VideoEx>
Specified by:
iterator in interface java.lang.Iterable<VideoEx>