Sdílet prostřednictvím


VoiceAge Enum

Definition

Defines the values for the age of a synthesized voice.

public enum class VoiceAge
public enum VoiceAge
type VoiceAge = 
Public Enum VoiceAge
Inheritance
VoiceAge

Fields

Name Value Description
NotSet 0

Indicates that no voice age is specified.

Child 10

Indicates a child voice (age 10).

Teen 15

Indicates a teenage voice (age 15).

Adult 30

Indicates an adult voice (age 30).

Senior 65

Indicates a senior voice (age 65).

Remarks

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.

Applies to