SpeechSynthesisWordBoundaryEventArgs Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Contains location and length details about words in synthesized speech. Added in 1.7.0
public class SpeechSynthesisWordBoundaryEventArgs : EventArgs, IDisposable
type SpeechSynthesisWordBoundaryEventArgs = class
inherit EventArgs
interface IDisposable
Public Class SpeechSynthesisWordBoundaryEventArgs
Inherits EventArgs
Implements IDisposable
- Inheritance
-
SpeechSynthesisWordBoundaryEventArgs
- Implements
Remarks
See also: WordBoundary
Properties
AudioOffset |
Specifies current word's offset in output audio, in ticks (100ns). |
BoundaryType |
Word boundary type. Added in version 1.21.0 |
Duration |
Time duration of the audio. Added in version 1.21.0 |
ResultId |
Specifies unique ID of speech synthesis. (Added in version 1.25.0) |
Text |
The text. Added in version 1.21.0 |
TextOffset |
Specifies current word's text offset in input text, in characters. |
WordLength |
Specifies current word's length, in characters. |
Methods
Dispose() |
Dispose of associated resources. |
Dispose(Boolean) |
This method performs cleanup of resources.
The Boolean parameter |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應