SubLib Subtitle Library

FileProperties Constructor (String, Encoding, SubtitleType, TimingMode, NewlineType)

Creates a new instance of the FileProperties class, given its properties.

public FileProperties(
   string path,
   Encoding encoding,
   SubtitleType subtitleType,
   TimingMode timingMode,
   NewlineType newlineType
);

Parameters

path
The file's path.
encoding
The file's character coding.
subtitleType
The file's subtitle type.
timingMode
The file's timing mode. This is more useful for the subtitle types that support both the time and frame modes.
newlineType
The file's newline type.

See Also

FileProperties Class | SubLib Namespace | FileProperties Constructor Overload List