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 function FindAssociatedStrokes() : StrokeCollection
Return Value
Type: System.Windows.Ink.StrokeCollection
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 get by combining the ContextNode.Strokes of the ContextNode object with the ContextNode.Strokes to which the hint is linked.
Examples
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 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.
Version Information
.NET Framework
Supported in: 3.0