AddVideo()
Contents
[
Hide
]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
Parameter | Type | Description |
---|---|---|
video | System::SharedPtr<IVideo> | Source video. |
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
Parameter | Type | Description |
---|---|---|
stream | System::SharedPtr<System::IO::Stream> | Stream to add video file from. |
loadingStreamBehavior | LoadingStreamBehavior | The 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
Parameter | Type | Description |
---|---|---|
videoData | System::ArrayPtr<uint8_t> | Video bytes. |
Return Value
Added video.
See Also
- Enum LoadingStreamBehavior
- Typedef SharedPtr
- Typedef ArrayPtr
- Class IVideo
- Class VideoCollection
- Class Stream
- Namespace Aspose::Slides
- Library Aspose.Slides