InsertAudioFrameEmbedded

InsertAudioFrameEmbedded(int, float, float, float, float, Stream)

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)
ParameterTypeDescription
indexInt32The zero-based index at which value should be inserted.
xSingleX coordinate of a new audio frame.
ySingleY coordinate of a new audio frame.
widthSingleWidth of a new audio frame.
heightSingleHeight of a new audio frame.
audio_streamStreamAudio stream.

Return Value

Created AudioFrame object.

See Also


InsertAudioFrameEmbedded(int, float, float, float, float, IAudio)

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)
ParameterTypeDescription
indexInt32The zero-based index at which value should be inserted.
xSingleX coordinate of a new audio frame.
ySingleY coordinate of a new audio frame.
widthSingleWidth of a new audio frame.
heightSingleHeight of a new audio frame.
audioIAudioAudio from Presentation.Audios list.

Return Value

Created AudioFrame object.

See Also