Поделиться через


RecognitionAlternate.AlternatesWithConstantPropertyValues - метод

Обновлен: Ноябрь 2007

Returns a RecognitionAlternates collection that is made of a division of the RecognitionAlternate object on which this method is called.

Пространство имен:  Microsoft.Ink
Сборка:  Microsoft.Ink (в Microsoft.Ink.dll)

Синтаксис

'Декларация
Public Function AlternatesWithConstantPropertyValues ( _
    g As Guid _
) As RecognitionAlternates
'Применение
Dim instance As RecognitionAlternate
Dim g As Guid
Dim returnValue As RecognitionAlternates

returnValue = instance.AlternatesWithConstantPropertyValues(g)
public RecognitionAlternates AlternatesWithConstantPropertyValues(
    Guid g
)
public:
RecognitionAlternates^ AlternatesWithConstantPropertyValues(
    Guid g
)
public RecognitionAlternates AlternatesWithConstantPropertyValues(
    Guid g
)
public function AlternatesWithConstantPropertyValues(
    g : Guid
) : RecognitionAlternates

Параметры

Возвращаемое значение

Тип: Microsoft.Ink.RecognitionAlternates
Returns a RecognitionAlternates collection that is made of a division of the RecognitionAlternate object on which this method is called.

Заметки

Each RecognitionAlternate object in the RecognitionAlternates collection contains adjacent recognition segments, which have the same property value for the g property passed into the method.

For example, you can return alternates that divide the original alternate by:

  • Level of confidence boundaries—whether strong, intermediate, or poor—in the recognition result.

  • Line boundaries.

  • recognition segment boundaries.

For a complete list of property types, see the RecognitionProperty object.

ms569784.alert_note(ru-ru,VS.90).gifПримечание.

The recognizer determines the segmentation of strokes into the recognition segments. Some recognition segments, such as spaces, may correspond to an empty Strokes collection.

ms569784.alert_note(ru-ru,VS.90).gifПримечание.

The recognizer determines the ordering of the recognition segments. Therefore, adjacent recognition segments may be based on the order in which the ink was drawn or based on location, such as whether ink is positioned left-to-right, positioned top-to-bottom, and so on.

The ConfidenceAlternates property is an alternative to the AlternatesWithConstantPropertyValues method, where the ConfidenceLevel property is the RecognitionProperty that separates the alternates in the returned RecognitionAlternates collection.

The LineAlternates property is an alternative to the AlternatesWithConstantPropertyValues method, where the LineNumber property is the RecognitionProperty that separates the alternates in the returned RecognitionAlternates collection.

ms569784.alert_note(ru-ru,VS.90).gifПримечание.

The AlternatesWithConstantPropertyValues method, the LineAlternates property, and the ConfidenceAlternates property of the RecognitionAlternate object function differently than the GetAlternatesFromSelection method of the RecognitionResult object. The GetAlternatesFromSelection method returns a RecognitionAlternates collection for the requested segments of the recognition result.

Платформы

Windows Vista

Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.

Сведения о версии

.NET Framework

Поддерживается в версии: 3.0

См. также

Ссылки

RecognitionAlternate Класс

RecognitionAlternate - члены

Microsoft.Ink - пространство имен

RecognitionAlternate.ConfidenceAlternates

RecognitionAlternate.LineAlternates

RecognitionAlternate.GetPropertyValue

RecognitionAlternates

RecognitionProperty

RecognitionResult

RecognitionResult.GetAlternatesFromSelection