Add()

ICaptionsCollection::Add(System::String, System::String) method

Adds WebVTT closed captions to the end of the collection.

virtual System::SharedPtr<ICaptions> Aspose::Slides::ICaptionsCollection::Add(System::String label, System::String filePath)=0

Arguments

ParameterTypeDescription
labelSystem::StringThe label of the closed captions.
filePathSystem::StringThe path to the WebVTT file.

Return Value

The added ICaptions instance.

ICaptionsCollection::Add(System::String, System::SharedPtr<System::IO::Stream>) method

Adds WebVTT closed captions to the end of the collection from a stream.

virtual System::SharedPtr<ICaptions> Aspose::Slides::ICaptionsCollection::Add(System::String label, System::SharedPtr<System::IO::Stream> stream)=0

Arguments

ParameterTypeDescription
labelSystem::StringThe label of the closed captions.
streamSystem::SharedPtr<System::IO::Stream>The input stream containing data in WebVTT format.

Return Value

The added ICaptions instance.

See Also