AnalysisHintNode.FindAssociatedStrokes 方法
返回 InkAnalyzer 已经为之应用当前分析提示的笔画。
命名空间: System.Windows.Ink
程序集: IAWinFX(在 IAWinFX.dll 中)
语法
声明
Public Function FindAssociatedStrokes As StrokeCollection
用法
Dim instance As AnalysisHintNode
Dim returnValue As StrokeCollection
returnValue = instance.FindAssociatedStrokes()
public StrokeCollection FindAssociatedStrokes()
public:
StrokeCollection^ FindAssociatedStrokes()
public StrokeCollection FindAssociatedStrokes()
public function FindAssociatedStrokes() : StrokeCollection
返回值
类型:System.Windows.Ink.StrokeCollection
InkAnalyzer 已经为之应用当前分析提示的笔画。
备注
此方法返回的 StrokeCollection 集合与合并 ContextNode 对象的 ContextNode.Strokes 与提示所链接到的 ContextNode.Strokes 所得到的集合相同。
示例
此示例将与提示 theHintNode 相关联的所有笔画都添加到名为 selectedStrokes 的 StrokeCollection 中。
' Select all the strokes associated with theHintNode.
Me.selectedStrokes.Add(theHintNode.FindAssociatedStrokes())
// Select all the strokes associated with theHintNode.
this.selectedStrokes.Add(theHintNode.FindAssociatedStrokes());
平台
Windows Vista
.NET Framework 和 .NET Compact Framework 并不是对每个平台的所有版本都提供支持。有关支持的版本的列表,请参见.NET Framework 系统要求。
版本信息
.NET Framework
受以下版本支持:3.0