子ノードが含まれない ContextNode オブジェクトであるすべてのリーフ ノードを含む ContextNodeCollection を返します。
名前空間 : System.Windows.Ink
アセンブリ : IAWinFX (IAWinFX.dll 内)
構文
'宣言
Public Function FindLeafNodes As ContextNodeCollection
'使用
Dim instance As InkAnalyzer
Dim returnValue As ContextNodeCollection
returnValue = instance.FindLeafNodes()
public ContextNodeCollection FindLeafNodes()
public:
ContextNodeCollection^ FindLeafNodes()
public ContextNodeCollection FindLeafNodes()
public function FindLeafNodes() : ContextNodeCollection
戻り値
型 : System.Windows.Ink.ContextNodeCollection
すべてのリーフ ノードが含まれる ContextNodeCollection。
例
次の例では、theInkAnalyzer という名前の InkAnalyzer のすべてのリーフ ノードをループし、整数値 yValue より下に拡張するリーフ ノードを nodesBelowYValue という名前の ArrayList に追加します。
Dim nodesBelowYValue As New ArrayList()
Dim leafNode As ContextNode
For Each leafNode In theInkAnalyzer.FindLeafNodes()
' Add to collection if bottom is lower than yValue
If leafNode.Location.GetBounds().Bottom > yValue Then
nodesBelowYValue.Add(leafNode)
End If
Next leafNode
ArrayList nodesBelowYValue = new ArrayList();
foreach (ContextNode leafNode in theInkAnalyzer.FindLeafNodes())
{
// Add to collection if bottom is lower than yValue
if (leafNode.Location.GetBounds().Bottom > yValue)
{
nodesBelowYValue.Add(leafNode);
}
}
プラットフォーム
Windows Vista
.NET Framework および .NET Compact Framework では、各プラットフォームのすべてのバージョンはサポートしていません。サポートされているバージョンについては、「.NET Framework システム要件」を参照してください。
バージョン情報
.NET Framework
サポート対象 : 3.0