Add()

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

ParameterTypeDescription
labelSystem::StringThe label of the closed captions.
filePathSystem::StringThe 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

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