Share via


AnalysisHintNode.FindAssociatedStrokes Method

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

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

Syntax

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

returnValue = instance.FindAssociatedStrokes
public StrokeCollection FindAssociatedStrokes ()
public:
StrokeCollection^ FindAssociatedStrokes ()
public StrokeCollection FindAssociatedStrokes ()
public function FindAssociatedStrokes () : StrokeCollection
Not applicable.

Return Value

The strokes to which the InkAnalyzer has applied the current analysis hint.

Remarks

The StrokeCollection 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 StrokeCollection, 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
System.Windows.Ink Namespace