AddAudioFrameEmbedded()
Contents
[
Hide
]IShapeCollection::AddAudioFrameEmbedded(float, float, float, float, System::SharedPtr<System::IO::Stream>) method
Adds a new audio frame with embedded audio file to the end of a collection. Embedded audio file can be a WAV only. It adds new audio into Presentation.Audios list.
virtual System::SharedPtr<IAudioFrame> Aspose::Slides::IShapeCollection::AddAudioFrameEmbedded(float x, float y, float width, float height, System::SharedPtr<System::IO::Stream> audio_stream)=0
Arguments
Parameter | Type | Description |
---|---|---|
x | float | X coordinate of a new audio frame. |
y | float | Y coordinate of a new audio frame. |
width | float | Width of a new audio frame. |
height | float | Height of a new audio frame. |
audio_stream | System::SharedPtr<System::IO::Stream> | Inout stream with audio data. |
Return Value
Created AudioFrame object.
IShapeCollection::AddAudioFrameEmbedded(float, float, float, float, System::SharedPtr<IAudio>) method
Adds a new audio frame with embedded audio file to the end of a collection. It uses audio file from Presentation.Audios list.
virtual System::SharedPtr<IAudioFrame> Aspose::Slides::IShapeCollection::AddAudioFrameEmbedded(float x, float y, float width, float height, System::SharedPtr<IAudio> audio)=0
Arguments
Parameter | Type | Description |
---|---|---|
x | float | X coordinate of a new audio frame. |
y | float | Y coordinate of a new audio frame. |
width | float | Width of a new audio frame. |
height | float | Height of a new audio frame. |
audio | System::SharedPtr<IAudio> | Audio from Presentation.Audios list. |
Return Value
Created AudioFrame object.
See Also
- Typedef SharedPtr
- Class IAudioFrame
- Class Stream
- Class IShapeCollection
- Class IAudio
- Namespace Aspose::Slides
- Library Aspose.Slides