com.aspose.slides
Interface IAudioCollection

All Superinterfaces:
com.aspose.ms.System.Collections.IEnumerable<IAudio>, IGenericCollection<IAudio>, com.aspose.ms.System.Collections.Generic.IGenericEnumerable<IAudio>, java.lang.Iterable<IAudio>
All Known Implementing Classes:
AudioCollection

public interface IAudioCollection
extends IGenericCollection<IAudio>

Represents a collection of embedded audio files.


Method Summary
 IAudio addAudio(byte[] audioData)
           Creates and adds a audio to a presentation from byte array.
 IAudio addAudio(IAudio audio)
           Adds a copy of an audio file from an another presentation.
 IAudio addAudio(java.io.InputStream stream)
           Creates and adds a audio to a presentation from stream.
 IAudio get_Item(int index)
           Gets the element at the specified index.
 
Methods inherited from interface com.aspose.slides.IGenericCollection
copyTo, getSyncRoot, isSynchronized, size
 
Methods inherited from interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable
iterator
 

Method Detail

get_Item

IAudio get_Item(int index)

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


addAudio

IAudio addAudio(IAudio audio)

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

Parameters:
audio - Source audio.
Returns:
Added audio.

addAudio

IAudio addAudio(java.io.InputStream stream)

Creates and adds a audio to a presentation from stream.

Parameters:
stream - Stream to add audio from.
Returns:
Added audio.

addAudio

IAudio addAudio(byte[] audioData)

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

Parameters:
audioData - Audio bytes.
Returns:
Added audio.


Copyright © Copyright 2004-2016 Aspose Pty Ltd. All Rights Reserved.