VideoEdit Gold ActiveX Control

SRTMakerAddSubTitle Method

Description

Add subtitle text to subtitle text file. Before you call SRTMakerSave method, you should call SRTMakerAddSubTitle method first.

Syntax

Public Function SRTMakerAddSubTitle ( _
   ByVal iStartTime as double, _
   ByVal iStopTime as double, _
   ByVal strText as String
)

Parameter

iStartTime
    Specifies the start time for displaying subtitle text.

iStopTime
    Specifies the end time for displaying subtitle text.

strText
    The string of subtitle text.



No Return Value
 

Example

Visual Basic Syntax
AxVideoEdit1.SRTMakerClear()
AxVideoEdit1.SRTMakerAddSubTitle(0, 10, "This is subtitle 1")
AxVideoEdit1.SRTMakerAddSubTitle(11, 20, "This is subtitle 2")
AxVideoEdit1.SRTMakerAddSubTitle(21, 30, "This is subtitle 3")
AxVideoEdit1.SRTMakerSave("c:\test1.srt")