AddVideo()

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

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

virtual System::SharedPtr<IVideo> Aspose::Slides::IVideoCollection::AddVideo(System::SharedPtr<IVideo> video)=0

Arguments

ParameterTypeDescription
videoSystem::SharedPtr<IVideo>Source video.

Return Value

Added video.

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

Creates and adds a video to a presentation from stream.

virtual System::SharedPtr<IVideo> Aspose::Slides::IVideoCollection::AddVideo(System::SharedPtr<System::IO::Stream> stream, LoadingStreamBehavior loadingStreamBehavior)=0

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.

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

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

virtual System::SharedPtr<IVideo> Aspose::Slides::IVideoCollection::AddVideo(System::ArrayPtr<uint8_t> videoData)=0

Arguments

ParameterTypeDescription
videoDataSystem::ArrayPtr<uint8_t>Video bytes.

Return Value

Added video.

See Also