AddAudioFrameEmbedded

IShapeCollection.AddAudioFrameEmbedded method (1 of 2)

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.

public IAudioFrame AddAudioFrameEmbedded(float x, float y, float width, float height, 
    Stream audio_stream)
Parameter Type Description
x Single X coordinate of a new audio frame.
y Single Y coordinate of a new audio frame.
width Single Width of a new audio frame.
height Single Height of a new audio frame.
audio_stream Stream Inout stream with audio data.

Return Value

Created AudioFrame object.

See Also


IShapeCollection.AddAudioFrameEmbedded method (2 of 2)

Adds a new audio frame with embedded audio file to the end of a collection. It uses audio file from Presentation.Audios list.

public IAudioFrame AddAudioFrameEmbedded(float x, float y, float width, float height, IAudio audio)
Parameter Type Description
x Single X coordinate of a new audio frame.
y Single Y coordinate of a new audio frame.
width Single Width of a new audio frame.
height Single Height of a new audio frame.
audio IAudio Audio from Presentation.Audios list.

Return Value

Created AudioFrame object.

See Also