InsertAudioFrameEmbedded()

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

ParameterTypeDescription
indexint32_tThe zero-based index at which value should be inserted.
xfloatX coordinate of a new audio frame.
yfloatY coordinate of a new audio frame.
widthfloatWidth of a new audio frame.
heightfloatHeight of a new audio frame.
audio_streamSystem::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

ParameterTypeDescription
indexint32_tThe zero-based index at which value should be inserted.
xfloatX coordinate of a new audio frame.
yfloatY coordinate of a new audio frame.
widthfloatWidth of a new audio frame.
heightfloatHeight of a new audio frame.
audioSystem::SharedPtr<IAudio>Audio from Presentation::get_Audios list.

Return Value

Created AudioFrame object.

See Also