CHMlib Logo Leading Translation Management System for Translation Agencies, Top Translation Management Software for Freelance Translators, Time Tracking Software, Word Count, Character Count and Line Count Software, Computer Assisted Translation Tool for Easy Word Count, Clipboard Character Count Software, User-Friendly Translation Memory Software, Terminology Management Software, Terminology Management Server, Microsoft Glossary Software, Dictionary of Acronyms, Social Network for Translators and Translation Agencies, Acronyms and Abbreviations Search Engine, Russian Translation Lab, Ukrainian Translation Lab.
You are reading help file online using chmlib.com
CrisisHelper - First Aid in Tough Times of World Economic Crisis


Intelligent Interface Technologies Home Page Microsoft Speech SDK

Speech Automation 5.1

Interface: ISpeechRecoResult

Times Property

The Times property retrieves the time information associated with the result.

Syntax

Set: (This property is read-only)
Get: ISpeechRecoResultTimes = ISpeechRecoResult.Times

Parts

ISpeechRecoResult
The owning object.
ISpeechRecoResultTimes
Set: (This property is read-only)
Get: An ISpeechRecoResultTimes variable containing the time information for the recognition.

Example

The following snippet assumes a valid recognition RecoResult. ISpeechRecoResultTimes is retrieved for the current recognition. Since all the values are read-only, they are added to a string for possible display.

Dim myTimes As ISpeechRecoResultTimes
Dim rString As String

Set myTimes = RecoResult.Times()
rString = "Len= " & myTimes.Length & vbCrLf
rString = rString & "Start= " & myTimes.OffsetFromStart & vbCrLf
rString = rString & "Time= " & myTimes.StreamTime & vbCrLf
rString = rString & "TickCount= " & myTimes.TickCount

Alternatively, the same information may be retrieved directly from RecoResult.

Dim rString As String

rString = "Len= " & RecoResult.Times.Length & vbCrLf
rString = rString & "Start= " & RecoResult.Times.OffsetFromStart & vbCrLf
rString = rString & "Time= " & RecoResult.Times.StreamTime & vbCrLf
rString = rString & "TickCount= " & RecoResult.Times.TickCount


You are reading help file online using chmlib.com

If you want your help file to be removed or added please send e-mail to chmlibcom@gmail.com
Partner sites: Logo Design, Simple Anti-Crisis Accounting Software, Voice Search for Web