Add()
Contents
[
Hide
]CaptionsCollection::Add(System::String, System::String) method
Adds WebVTT closed captions to the end of the collection.
System::SharedPtr<ICaptions> Aspose::Slides::CaptionsCollection::Add(System::String label, System::String filePath) override
Arguments
Parameter | Type | Description |
---|---|---|
label | System::String | The label of the closed captions. |
filePath | System::String | The path to the WebVTT file. |
Return Value
The added ICaptions instance.
CaptionsCollection::Add(System::String, System::SharedPtr<System::IO::Stream>) method
Adds WebVTT closed captions to the end of the collection from a stream.
System::SharedPtr<ICaptions> Aspose::Slides::CaptionsCollection::Add(System::String label, System::SharedPtr<System::IO::Stream> stream) override
Arguments
Parameter | Type | Description |
---|---|---|
label | System::String | The label of the closed captions. |
stream | System::SharedPtr<System::IO::Stream> | The input stream containing data in WebVTT format. |
Return Value
The added ICaptions instance.
See Also
- Typedef SharedPtr
- Class ICaptions
- Class String
- Class CaptionsCollection
- Class Stream
- Namespace Aspose::Slides
- Library Aspose.Slides