Sdílet prostřednictvím


AnalysisHintNode.FindAssociatedStrokes Method

Returns the strokes to which the InkAnalyzer has applied this analysis hint.

Namespace:  Microsoft.Ink
Assembly:  Microsoft.Ink.Analysis (in Microsoft.Ink.Analysis.dll)

Syntax

'Declaration
Public Function FindAssociatedStrokes As Strokes
'Usage
Dim instance As AnalysisHintNode 
Dim returnValue As Strokes 

returnValue = instance.FindAssociatedStrokes()
public Strokes FindAssociatedStrokes()
public:
Strokes^ FindAssociatedStrokes()
public function FindAssociatedStrokes() : Strokes

Return Value

Type: Microsoft.Ink.Strokes
The strokes to which the InkAnalyzer has applied this analysis hint.

Remarks

The strokes collection returned by this method is the same collection that you would get by combining the ContextNode.Strokes of the ContextNode objects to which the hint is linked.

Examples

This example adds all of the strokes associated with the hint, theHintNode, to a strokes collection, selectedStrokes.

' Select all the strokes associated with theHintNode. 
Me.selectedStrokes.Add(theHintNode.FindAssociatedStrokes())
// Select all the strokes associated with theHintNode. 
this.selectedStrokes.Add(theHintNode.FindAssociatedStrokes());

Platforms

Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008

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.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

AnalysisHintNode Class

AnalysisHintNode Members

Microsoft.Ink Namespace