VoiceAge Enumeration

VoiceAge Enumeration

 

Defines the values for the age of a synthesized voice.

Namespace:   System.Speech.Synthesis
Assembly:  System.Speech (in System.Speech.dll)

public enum VoiceAge

Member nameDescription
Adult

Indicates an adult voice (age 30).

Child

Indicates a child voice (age 10).

NotSet

Indicates that no voice age is specified.

Senior

Indicates a senior voice (age 65).

Teen

Indicates a teenage voice (age 15).

VoiceAge can indicate the age of an existing voice or an age preference when selecting a voice. Three of the SelectVoiceByHints methods and two of the StartVoice methods use VoiceAge to specify the age when selecting a voice. The Age property obtains the age of an existing voice using a VoiceAge member.

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft