AddAudioFrameEmbedded

AddAudioFrameEmbedded(float, float, float, float, Stream)

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)
ParameterTypeDescription
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_streamStreamInout stream with audio data.

Return Value

Created AudioFrame object.

See Also


AddAudioFrameEmbedded(float, float, float, float, IAudio)

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