AddVideo()

VideoCollection::AddVideo(System::SharedPtr<IVideo>) method

Adds a copy of an video file from an another presentation.

System::SharedPtr<IVideo> Aspose::Slides::VideoCollection::AddVideo(System::SharedPtr<IVideo> video) override

Arguments

ParameterTypeDescription
videoSystem::SharedPtr<IVideo>Source video.

Return Value

Added video.

VideoCollection::AddVideo(System::SharedPtr<System::IO::Stream>) method

Creates and adds a video to a presentation from stream.

System::SharedPtr<IVideo> Aspose::Slides::VideoCollection::AddVideo(System::SharedPtr<System::IO::Stream> stream) override

Arguments

ParameterTypeDescription
streamSystem::SharedPtr<System::IO::Stream>Stream to add video file from.

Return Value

Added Video.

VideoCollection::AddVideo(System::SharedPtr<System::IO::Stream>, LoadingStreamBehavior) method

Creates and adds a video to a presentation from stream.

System::SharedPtr<IVideo> Aspose::Slides::VideoCollection::AddVideo(System::SharedPtr<System::IO::Stream> stream, LoadingStreamBehavior loadingStreamBehavior) override

Arguments

ParameterTypeDescription
streamSystem::SharedPtr<System::IO::Stream>Stream to add video file from.
loadingStreamBehaviorLoadingStreamBehaviorThe behavior which will be applied to the stream.

Return Value

Added IVideo.

VideoCollection::AddVideo(System::ArrayPtr<uint8_t>) method

Creates and adds a video to a presentation from byte array.

System::SharedPtr<IVideo> Aspose::Slides::VideoCollection::AddVideo(System::ArrayPtr<uint8_t> videoData) override

Arguments

ParameterTypeDescription
videoDataSystem::ArrayPtr<uint8_t>Video bytes.

Return Value

Added video.

See Also