EnhEvent.Start

[This is preliminary documentation and subject to change.]

The Start property specifies the time of the event, in seconds. This is specified in relation to the start time of the episode that the event enhances.

Syntax

object.Start [ = dStart ]
 

Parts

object
Object expression that resolves to an EnhEvent object.
dStart
Double that specifies the start time of the event. This is expressed as the number of seconds after the episode's start time.

Remarks

Typically, the time specified by StartTime is the starting time of the event. However for some events, such as those where the stream syntax stored in EnhEvent.Text is of the form before time package; this time is the end time of the event.

QuickInfo

  Windows NT: Unsupported.
  Windows: Requires Windows 98.
  Windows CE: Unsupported.
  Header: Declared in stream.idl.
  Import Library: Included as a resource in stream.dll.
  Unicode: Yes.

See Also

EnhEvent.Text, EnhEvents.ParseTime, EnhEvents.TimeStr

Examples

The following examples set the start time of the event, where e is an EnhEvent object and evs is an EnhEvents collection.

'Set the start time.
e.Start = 342.0
 
'The following line also sets the start time to 342.0 but uses the 
'ParseTime method to convert the time from STMPE format to a double.
e.Start = evs.ParseTime("00:05:42:00")
 
'Print the event start time in STMPE format
MsgBox evs.TimeStr(e.Start)  
 

Note that you can use the EnhEvents.ParseTime method to convert a STMPE time into the double-string format required by Start. Similarly, you can use the EnhEvents.TimeStr method to convert the double-format time returned by Start to STMPE format. This is demonstrated in the preceding examples.