AddAudio()
Contents
[
Hide
]AudioCollection::AddAudio(System::SharedPtr<IAudio>) method
Adds a copy of an audio file from an another presentation.
System::SharedPtr<IAudio> Aspose::Slides::AudioCollection::AddAudio(System::SharedPtr<IAudio> audio) override
Arguments
Parameter | Type | Description |
---|---|---|
audio | System::SharedPtr<IAudio> | Source audio. |
Return Value
Added audio.
AudioCollection::AddAudio(System::SharedPtr<System::IO::Stream>) method
Creates and adds a audio to a presentation from stream.
System::SharedPtr<IAudio> Aspose::Slides::AudioCollection::AddAudio(System::SharedPtr<System::IO::Stream> stream) override
Arguments
Parameter | Type | Description |
---|---|---|
stream | System::SharedPtr<System::IO::Stream> | Stream to add audio from. |
Return Value
Added audio.
AudioCollection::AddAudio(System::SharedPtr<System::IO::Stream>, LoadingStreamBehavior) method
Creates and adds a audio to a presentation from stream.
System::SharedPtr<IAudio> Aspose::Slides::AudioCollection::AddAudio(System::SharedPtr<System::IO::Stream> stream, LoadingStreamBehavior loadingStreamBehavior) override
Arguments
Parameter | Type | Description |
---|---|---|
stream | System::SharedPtr<System::IO::Stream> | Stream to add video audio from. |
loadingStreamBehavior | LoadingStreamBehavior | The behavior which will be applied to the stream. |
Return Value
Added audio.
AudioCollection::AddAudio(System::ArrayPtr<uint8_t>) method
Creates and adds a audio to a presentation from byte array.
System::SharedPtr<IAudio> Aspose::Slides::AudioCollection::AddAudio(System::ArrayPtr<uint8_t> audioData) override
Arguments
Parameter | Type | Description |
---|---|---|
audioData | System::ArrayPtr<uint8_t> | Audio bytes. |
Return Value
Added audio.
See Also
- Enum LoadingStreamBehavior
- Typedef SharedPtr
- Typedef ArrayPtr
- Class IAudio
- Class AudioCollection
- Class Stream
- Namespace Aspose::Slides
- Library Aspose.Slides