InsertAudioFrameEmbedded()
Contents
[
Hide
]ShapeCollection::InsertAudioFrameEmbedded(int32_t, float, float, float, float, System::SharedPtr<System::IO::Stream>) method
Insert an AudioFrame with embedded audio file. Embedded audio file sound can be a WAV only.
System::SharedPtr<IAudioFrame> Aspose::Slides::ShapeCollection::InsertAudioFrameEmbedded(int32_t index, float x, float y, float width, float height, System::SharedPtr<System::IO::Stream> audio_stream) override
Arguments
Parameter | Type | Description |
---|---|---|
index | int32_t | The zero-based index at which value should be inserted. |
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> | Audio stream. |
Return Value
Created AudioFrame object.
ShapeCollection::InsertAudioFrameEmbedded(int32_t, float, float, float, float, System::SharedPtr<IAudio>) method
Insert an AudioFrame with embedded audio file. It uses audio file from Presentation::get_Audios list.
System::SharedPtr<IAudioFrame> Aspose::Slides::ShapeCollection::InsertAudioFrameEmbedded(int32_t index, float x, float y, float width, float height, System::SharedPtr<IAudio> audio) override
Arguments
Parameter | Type | Description |
---|---|---|
index | int32_t | The zero-based index at which value should be inserted. |
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::get_Audios list. |
Return Value
Created AudioFrame object.
See Also
- Typedef SharedPtr
- Class IAudioFrame
- Class Stream
- Class ShapeCollection
- Class IAudio
- Namespace Aspose::Slides
- Library Aspose.Slides