Zdieľať cez


EmphasisWord Enum

Definition

Enumerates the values of EmphasisWord for a specific TextFragment.

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

Fields

Name Value Description
Default 0

Indicates an engine-specific default level of emphasis.

Strong 1

Indicates strong emphasis.

Moderate 2

Indicates moderate emphasis.

None 3

Indicates no emphasis specified.

Reduced 4

Indicates reduced emphasis.

Remarks

The 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.

Both EmphasisWord and EmphasisBreak may be used when setting or getting the Emphasis on a FragmentState instance.

The 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. From more information, see Action,and Emphasis.

Applies to