AddAudio
Contents
[
Hide
]AddAudio(IAudio)
Adds a copy of an audio file from an another presentation.
public IAudio AddAudio(IAudio audio)
Parameter | Type | Description |
---|---|---|
audio | IAudio | Source audio. |
Return Value
Added audio.
See Also
- interface IAudio
- class AudioCollection
- namespace Aspose.Slides
- assembly Aspose.Slides
AddAudio(Stream)
Creates and adds a audio to a presentation from stream.
public IAudio AddAudio(Stream stream)
Parameter | Type | Description |
---|---|---|
stream | Stream | Stream to add audio from. |
Return Value
Added audio.
See Also
- interface IAudio
- class AudioCollection
- namespace Aspose.Slides
- assembly Aspose.Slides
AddAudio(Stream, LoadingStreamBehavior)
Creates and adds a audio to a presentation from stream.
public IAudio AddAudio(Stream stream, LoadingStreamBehavior loadingStreamBehavior)
Parameter | Type | Description |
---|---|---|
stream | Stream | Stream to add video audio from. |
loadingStreamBehavior | LoadingStreamBehavior | The behavior which will be applied to the stream. |
Return Value
Added audio.
See Also
- interface IAudio
- enum LoadingStreamBehavior
- class AudioCollection
- namespace Aspose.Slides
- assembly Aspose.Slides
AddAudio(byte[])
Creates and adds a audio to a presentation from byte array.
public IAudio AddAudio(byte[] audioData)
Parameter | Type | Description |
---|---|---|
audioData | Byte[] | Audio bytes. |
Return Value
Added audio.
See Also
- interface IAudio
- class AudioCollection
- namespace Aspose.Slides
- assembly Aspose.Slides