InsertAudioFrameEmbedded

ShapeCollection.InsertAudioFrameEmbedded method (1 of 2)

Insert an AudioFrame with embedded audio file. Embedded audio file sound can be a WAV only.

public IAudioFrame InsertAudioFrameEmbedded(int index, float x, float y, float width, float height, 
    Stream audio_stream)
Parameter Type Description
index Int32 The zero-based index at which value should be inserted.
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 Audio stream.

Return Value

Created AudioFrame object.

See Also


ShapeCollection.InsertAudioFrameEmbedded method (2 of 2)

Insert an AudioFrame with embedded audio file. It uses audio file from Presentation.Audios list.

public IAudioFrame InsertAudioFrameEmbedded(int index, float x, float y, float width, float height, 
    IAudio audio)
Parameter Type Description
index Int32 The zero-based index at which value should be inserted.
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