Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

UnclassifiedInkNode Class

Represents a ContextNode for a collection of strokes that have not yet been classified.

Namespace:  System.Windows.Ink
Assembly:  IAWinFX (in IAWinFX.dll)

'Declaration
Public NotInheritable Class UnclassifiedInkNode _
	Inherits ContextNode
'Usage
Dim instance As UnclassifiedInkNode

Any stroke that is added to the InkAnalyzer using either the InkAnalyzer.AddStroke method or the InkAnalyzer.AddStrokes method is automatically associated with an UnclassifiedInkNode object.

If InkAnalyzer.AddStroke or InkAnalyzer.AddStrokes is used to add the strokes, then one UnclassifiedInkNode object for each language identifier appears under the RootNode.

When InkAnalyzer.Analyze is called, the UnclassifiedInkNode is removed from the tree. If InkAnalyzer.BackgroundAnalyze is called, all UnclassifiedInkNode objects that exist during a call to BackgroundAnalyze, are removed once the ink analysis is complete. The only strokes that are not removed are new strokes that have been added to the UnclassifiedInkNode but not yet analyzed.

An UnclassifiedInkNode cannot have any child nodes.

In the following example, before ink analysis is performed by an InkAnalyzer named theInkAnalyzer, the culture identifier of all unanalyzed strokes is set to an integer named languageId. This will force analysis on all the strokes with that language. This is accomplished by finding all the UnclassifiedInkNode objects in the context tree and setting the locale identifiers on the strokes.

' Set all unanalyzed strokes to have the language specified by languageId 
Dim unclassifiedNodes As ContextNodeCollection = theInkAnalyzer.FindNodesOfType(ContextNodeType.UnclassifiedInk)
Dim unclassifiedNode As UnclassifiedInkNode
For Each unclassifiedNode In  unclassifiedNodes
    ' Set the strokes' language identifier
    theInkAnalyzer.SetStrokesLanguageId(unclassifiedNode.Strokes, languageId)
Next unclassifiedNode

' Perform ink analysis...

System.Object
  System.Windows.Ink.ContextNode
    System.Windows.Ink.UnclassifiedInkNode

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

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

.NET Framework

Supported in: 3.0

Community Additions

Show:
© 2017 Microsoft