AudioCollectionAddAudio Method (Stream, LoadingStreamBehavior)

Creates and adds a audio to a presentation from stream.

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 21.6.0.0 (21.6)
Syntax
public IAudio AddAudio(
	Stream stream,
	LoadingStreamBehavior loadingStreamBehavior
)

Parameters

stream
Type: System.IOStream
Stream to add video audio from.
loadingStreamBehavior
Type: Aspose.SlidesLoadingStreamBehavior
The behavior which will be applied to the stream.

Return Value

Type: IAudio
Added audio.

Implements

IAudioCollectionAddAudio(Stream, LoadingStreamBehavior)
See Also