編輯

共用方式為


Speech Interface

Definition

Contains methods and properties that pertain to speech.

public interface class Speech
[System.Runtime.InteropServices.Guid("00024466-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface Speech
Public Interface Speech
Attributes

Remarks

Use the Speech property of the Application object to return a Speech object.

Once a Speech object is returned, you can use the Speak(String, Object, Object, Object) method of the Speech object to play back the contents of a string.

Note: There is a speech feature in the setup tree that pertains to Dictation and Command & Control that does not have to be installed.

Properties

Direction

Returns or sets the order in which the cells will be spoken.

SpeakCellOnEnter

Microsoft Excel supports a mode where the active cell will be spoken when the ENTER key is pressed or when the active cell is finished being edited. Setting the SpeakCellOnEnter property to True will turn this mode on. False turns this mode off.

Methods

Speak(String, Object, Object, Object)

Microsoft Excel plays back the specified text string.

Applies to