AddAudioFrameEmbedded()

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

ParameterTypeDescription
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>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

ParameterTypeDescription
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.Audios list.

Return Value

Created AudioFrame object.

See Also