메소드 | 설명 | |
---|---|---|
Add ( |
Adds a subtitle to the end of the collection.
|
|
Add ( |
Adds a subtitle to the collection, inserting it at the specified index.
|
|
AddNewAfter ( int index, |
Creates a subtitle based on the subtitle at the specified index and adds it to the collection, inserting it right after that index. The newly created subtitle's times will be based on the specified subtitle. Its start time will be the end time of the existing subtitle plus SubtitleConstants.MinTimeBetweenSubtitles. Its duration will be SubtitleConstants.MaxSingleLineSubtitleDuration. |
|
AddNewAfter ( int index, |
Creates a subtitle based on the subtitle at the specified index and adds it to the collection, inserting it right after that index. The newly created subtitle's times will be based on the specified subtitle. Its duration will be SubtitleConstants.MaxSingleLineSubtitleDuration. |
|
AddNewAt ( int index, |
Creates a subtitle and adds it to the collection, inserting it at the specified index. The newly created subtitle's start time will be zero and its duration will be SubtitleConstants.MaxSingleLineSubtitleDuration. |
|
AddNewAt ( int index, |
Creates a subtitle and adds it to the collection, inserting it at the specified index and with the specified start time. The newly created subtitle's duration will be SubtitleConstants.MaxSingleLineSubtitleDuration. |
|
AddNewBefore ( int index, |
Creates a subtitle based on the subtitle at the specified index and adds it to the collection, inserting it right before that index. The newly created subtitle's times will be based on the specified subtitle. Its end time will be the start time of the existing subtitle minus SubtitleConstants.MinTimeBetweenSubtitles. Its duration will be SubtitleConstants.MaxSingleLineSubtitleDuration. Both times will be wrapped to zero if they are less than zero. |
|
AddNewBefore ( int index, |
Creates a subtitle based on the subtitle at the specified index and adds it to the collection, inserting it right before that index. The newly created subtitle's times will be based on the specified subtitle. Its duration will be SubtitleConstants.MaxSingleLineSubtitleDuration. Both the start and end times times will be wrapped to zero if they are negative. |
|
Clone ( |
||
Contains ( int index ) : bool |
Checks whether a subtitle with the specified index exists in the collection.
|
|
Get ( int index ) : |
Returns the subtitle at the specified index.
|
|
GetEnumerator ( ) : IEnumerator |
Returns an enumerator that can iterate through the collection.
|
|
Remove ( int index ) : void |
Removes a subtitle from the collection, given its index.
|
|
ToString ( ) : string | ||
this ( int index ) : |
메소드 | 설명 | |
---|---|---|
SetPropertiesForAll ( |
public Add ( |
||
subtitle | The subtitle to add. | |
index | int | The zero-based index at which the subtitle should be inserted. |
리턴 | void |
public AddNewAfter ( int index, |
||
index | int | The zero-based index after which the subtitle should be inserted. |
subtitleProperties | The SubtitleProperties of the subtitles. | |
리턴 | bool |
public AddNewAfter ( int index, |
||
index | int | The zero-based index after which the subtitle should be inserted. |
subtitleProperties | The SubtitleProperties of the subtitles. | |
timeBetweenSubtitles | int | The gap to keep after the existing subtitle, in milliseconds. |
리턴 | bool |
public AddNewAt ( int index, |
||
index | int | The zero-based index at which the subtitle should be inserted. |
subtitleProperties | The SubtitleProperties of the subtitles. | |
리턴 | bool |
public AddNewAt ( int index, |
||
index | int | The zero-based index at which the subtitle should be inserted. |
subtitleProperties | The SubtitleProperties of the subtitles. | |
start | System.TimeSpan | |
리턴 | bool |
public AddNewBefore ( int index, |
||
index | int | The zero-based index before which the subtitle should be inserted. |
subtitleProperties | The SubtitleProperties of the subtitles. | |
리턴 | bool |
public AddNewBefore ( int index, |
||
index | int | The zero-based index before which the subtitle should be inserted. |
subtitleProperties | The SubtitleProperties of the subtitles. | |
timeBetweenSubtitles | int | The gap to keep before the existing subtitle, in milliseconds. |
리턴 | bool |
public Clone ( |
||
propertiesClone | ||
리턴 |
public Get ( int index ) : |
||
index | int | The zero-based subtitle's index. |
리턴 |
public Remove ( int index ) : void | ||
index | int | The zero-based index of the subtitle to be removed. |
리턴 | void |