ISpeechPhraseElement DisplayText Property (SAPI 5.4)

Microsoft Speech API 5.4

Interface: ISpeechPhraseElement

DisplayText Property

The DisplayText property returns the display text for the element with normalization of numbers, currency values, and ordinals (for example, displays "$2" for the spoken words "two dollars").

The LexicalForm property displays text without normalization of numbers, currency values, and ordinals.

Syntax

Set: (This property is read-only)
Get: String = ISpeechPhraseElement.DisplayText

Parts

  • ISpeechPhraseElement
    The owning object.
  • String
    Set: (This property is read-only)
    Get: A String variable that gets the value of the property.

Example

Use of the ISpeechPhraseElement is demonstrated in a code example at the end of this section.