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


InkAnalyzer.SetStrokesType - метод

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

Changes the type of each stroke in a Strokes collection.

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

Синтаксис

'Декларация
Public Sub SetStrokesType ( _
    strokes As Strokes, _
    strokeType As StrokeType _
)
'Применение
Dim instance As InkAnalyzer
Dim strokes As Strokes
Dim strokeType As StrokeType

instance.SetStrokesType(strokes, strokeType)
public void SetStrokesType(
    Strokes strokes,
    StrokeType strokeType
)
public:
void SetStrokesType(
    Strokes^ strokes, 
    StrokeType strokeType
)
public void SetStrokesType(
    Strokes strokes,
    StrokeType strokeType
)
public function SetStrokesType(
    strokes : Strokes, 
    strokeType : StrokeType
)

Параметры

Заметки

If a stroke's type is the Microsoft.Ink.StrokeType value Unspecified, the InkAnalyzer classifies the stroke during ink analysis. Otherwise, the InkAnalyzer uses the type set on the stroke.

To get the type currently assigned to a stroke, call InkAnalyzer.GetStrokeType.

Примеры

This example assigns the StrokeType value, theStrokeType, to all of the strokes in the ContextNode, theContextNode, associated with the InkAnalyzer, theInkAnalyzer.

theInkAnalyzer.SetStrokesType(theContextNode.Strokes, theStrokeType)
theInkAnalyzer.SetStrokesType(theContextNode.Strokes, theStrokeType);

Платформы

Windows Vista

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

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

.NET Framework

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

См. также

Ссылки

InkAnalyzer Класс

InkAnalyzer - члены

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

Microsoft.Ink.StrokeType