Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ContourPoint Structure

Represents changes in pitch for the speech content of a TextFragment.

Namespace:  System.Speech.Synthesis.TtsEngine
Assembly:  System.Speech (in System.Speech.dll)
public struct ContourPoint : IEquatable<ContourPoint>

The ContourPoint type exposes the following members.

  NameDescription
Public methodContourPointCreates a new instance of the ContourPoint class.
Top
  NameDescription
Public propertyChangeGets the value that represents the amount to raise or lower the pitch at a point in a TextFragment.
Public propertyChangeTypeGets a member of ChangeType that specifies the unit to use for the number specified in the change parameter of a ContourPoint object.
Public propertyStart Gets a Single that specifies the point at which to apply the pitch change in a TextFragment. This is expressed as the elapsed percentage of the duration of the TextFragment at that point.
Top
  NameDescription
Public methodEquals(ContourPoint)Determines if a given instance of ContourPoint is equal to the current instance of ContourPoint.
Public methodEquals(Object)Determines if a given object is an instance of ContourPoint and equal to the current instance of ContourPoint. (Overrides ValueType.Equals(Object).)
Public methodGetHashCodeReturns a hash code for this instance. (Overrides ValueType.GetHashCode().)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringReturns the fully qualified type name of this instance. (Inherited from ValueType.)
Top
  NameDescription
Public operatorStatic memberEqualityDetermines if two instances of ContourPoint are equal.
Public operatorStatic memberInequalityDetermines if two instances of ContourPoint are NOT equal.
Top

The pitch contour is defined as an array of targets at specified time positions in the speech output. Each target is defined by three parameters. The first value is a percentage of the period of the contained text (a number followed by "%"). The second value specifies the amount to raise or lower the pitch. The third value designates the unit to use for the number specified in the second value; either percentage or hertz (Hz).

ContourPoint objects are obtained by the GetContourPoints method, or used to set the pitch contour for a TextFragment by the SetContourPoints method.

.NET Framework

Supported in: 4.5.1, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.