com.spire.presentation.collections
Class VideoCollection

java.lang.Object
  extended by com.spire.presentation.collections.VideoCollection
All Implemented Interfaces:
com.spire.ms.System.Collections.ICollection, com.spire.ms.System.Collections.IEnumerable, java.lang.Iterable

public class VideoCollection
extends java.lang.Object
implements com.spire.ms.System.Collections.ICollection

Represents a collection of Video objects.


Constructor Summary
VideoCollection(PresentationPptx parent)
           
 
Method Summary
 VideoData append(byte[] videoData)
          Creates and adds a video to a presentation from byte array.
 VideoData append(VideoData videoData)
          Adds a copy of an video file from an another presentation.
 void copyTo(java.lang.Object[] array, int index)
          Copy the list to a specified index with an array.
 VideoData get(int index)
          Gets the element at the specified index.
 int getCount()
          Gets a number of video files in the collection.
 java.lang.Object getSyncRoot()
          Gets the syncroot.
 boolean isSynchronized()
           
 com.spire.ms.System.Collections.IEnumerator iterator()
          Gets a iterator of the collection.
 int size()
          Gets the size of the collection.
 

Constructor Detail

VideoCollection

public VideoCollection(PresentationPptx parent)
Method Detail

getCount

public int getCount()
Gets a number of video files in the collection.

Returns:

get

public VideoData get(int index)
Gets the element at the specified index. Read-only .

Parameters:
index -
Returns:

append

public VideoData append(VideoData videoData)
Adds a copy of an video file from an another presentation.

Parameters:
videoData - Source video
Returns:
Added video.
Throws:
java.lang.Exception

append

public VideoData append(byte[] videoData)
Creates and adds a video to a presentation from byte array.

Parameters:
videoData - Video bytes.
Returns:
Added video.
Throws:
java.lang.Exception

copyTo

public void copyTo(java.lang.Object[] array,
                   int index)
Copy the list to a specified index with an array.

Parameters:
array -
index -

isSynchronized

public boolean isSynchronized()

getSyncRoot

public java.lang.Object getSyncRoot()
Gets the syncroot.

Returns:

size

public int size()
Gets the size of the collection.

Returns:

iterator

public com.spire.ms.System.Collections.IEnumerator iterator()
Gets a iterator of the collection.

Returns: