InsertAudioFrameEmbedded()
Contents
[
Hide
]IShapeCollection::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. It adds new audio into Presentation.Audios list.
virtual System::SharedPtr<IAudioFrame> Aspose::Slides::IShapeCollection::InsertAudioFrameEmbedded(int32_t index, float x, float y, float width, float height, System::SharedPtr<System::IO::Stream> audio_stream)=0
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.
IShapeCollection::InsertAudioFrameEmbedded(int32_t, float, float, float, float, System::SharedPtr<IAudio>) method
Insert an AudioFrame with embedded audio file. It uses audio file from Presentation.Audios list.
virtual System::SharedPtr<IAudioFrame> Aspose::Slides::IShapeCollection::InsertAudioFrameEmbedded(int32_t index, float x, float y, float width, float height, System::SharedPtr<IAudio> audio)=0
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.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