如何取得系统中所有TTSMode, 如Mike,Mike in Hall, Mary等(内空)(100分)

  • 主题发起人 主题发起人 lliihhaaoo
  • 开始时间 开始时间
L

lliihhaaoo

Unregistered / Unconfirmed
GUEST, unregistred user!
MSDN

TTSMode.Gender Property
The Gender property retrieves a value that identifies the gender of the voice.

Syntax
[ lGender = ]TTSMode.Gender
Possible Values
lGender
Integer specifying the gender. It can have one of these values:
GENDER_FEMALE
Female.
GENDER_MALE
Male.
GENDER_NEUTRAL
Not perceptibly male or female.
This property is read-only.

Requirements
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Unsupported.
Header: Declared in Mswtecom.idl and Mswtecom.h.
Library: Use Mswtecom.lib.

See Also
TTSMode

 
Also From MSDN
TTSMode.Speaker Property
The Speaker property retrieves the name of the voice, or NULL if the name is not important.

Syntax
[ sName = ] TTSMode.Speaker
Possible Values
sName
String specifying the name of the voice.
This property is read-only.

Requirements
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Unsupported.
Header: Declared in Mswtecom.idl and Mswtecom.h.
Library: Use Mswtecom.lib.

See Also
TTSMode

 
其实MSDN里都有,不贴了
查一下TTSMode Object
 
后退
顶部