VideoCollectionAddVideo Method (Stream, LoadingStreamBehavior)

Creates and adds a video to a presentation from stream.

Namespace:  Aspose.Slides
Assembly:  Aspose.Slides (in Aspose.Slides.dll) Version: 21.5.0.0 (21.5)
Syntax
public IVideo AddVideo(
	Stream stream,
	LoadingStreamBehavior loadingStreamBehavior
)

Parameters

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

Return Value

Type: IVideo
Added IVideo.

Implements

IVideoCollectionAddVideo(Stream, LoadingStreamBehavior)
See Also