C# Class SubLib.Core.SubtitleSaver

Represents the main mechanism for saving Subtitles.
Mostrar archivo Open project: GNOME/gnome-subtitles Class Usage Examples

Public Methods

Method Description
Save ( Subtitles subtitles, FileProperties properties, SubtitleTextType textType ) : void

Saves subtitles to the file with the specified properties.

An updated SubLib.FileProperties object can be accessed with FileProperties after saving.

Private Methods

Method Description
GetUpdatedFileProperties ( FileProperties properties ) : FileProperties

Method Details

Save() public method

Saves subtitles to the file with the specified properties.
An updated SubLib.FileProperties object can be accessed with FileProperties after saving.
public Save ( Subtitles subtitles, FileProperties properties, SubtitleTextType textType ) : void
subtitles SubLib.Core.Domain.Subtitles The subtitles to save.
properties SubLib.Core.Domain.FileProperties The properties of the file to save the subtitles to. Its property is used to /// choose the timing mode for subtitle formats that support both time and frame modes.
textType SubtitleTextType The type of text content to save.
return void