EmphasisWord 枚举

定义

枚举特定 EmphasisWordTextFragment 的值。Enumerates the values of EmphasisWord for a specific TextFragment.

public enum class EmphasisWord
public enum EmphasisWord
type EmphasisWord = 
Public Enum EmphasisWord
继承
EmphasisWord

字段

Default 0

指示引擎特定默认级别焦点。Indicates an engine-specific default level of emphasis.

Moderate 2

指示中等焦点。Indicates moderate emphasis.

None 3

指定不指示焦点。Indicates no emphasis specified.

Reduced 4

指示减少的焦点。Indicates reduced emphasis.

Strong 1

指示强焦点。Indicates strong emphasis.

注解

字词强调是Emphasis通过实例的TextFragment FragmentState 属性所State返回的对象上的属性设置的。 TextFragmentThe word emphasis is set for TextFragment instances through the Emphasis property on the FragmentState object returned by the State property on an instance of TextFragment.

每个综合语音引擎都可随意确定如何呈现强调;语言、方言、性别或语音的强调性质有所不同。Each synthetic speech engine is free to determine how to render emphasis; the nature of emphasis differs between languages, dialects, genders, or voices.

在设置EmphasisBreak Emphasis或获取EmphasisWord 实例时,FragmentState可以使用和。Both EmphasisWord and EmphasisBreak may be used when setting or getting the Emphasis on a FragmentState instance.

这两个值EmphasisWord可以区分, 这是因为的实际值大于或等于零, 并且的EmphasisBreak值都小于零; 使用由上的Action属性TtsEngineAction返回的值时,实例上的属性State所返回的对象。 FragmentStateThe two values may be distinguished by the fact that the actual values of EmphasisWord are greater than or equal to zero, and the values of EmphasisBreak are all less than zero; and by using the value of TtsEngineAction returned by the Action property on the FragmentState object returned by the State property on an instance. 有关详细信息, 请Action参阅和EmphasisFrom more information, see Action,and Emphasis.

适用于