Compartir a través de


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 Strokes FindAssociatedStrokes ()
public function FindAssociatedStrokes () : Strokes
Not applicable.

Return Value

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.

Example

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 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

AnalysisHintNode Class
AnalysisHintNode Members
Microsoft.Ink Namespace