認識されたオブジェクトを表す Lattice を取得するためのグローバル一意識別子 (GUID) を指定します。
名前空間 : System.Windows.Ink
アセンブリ : IAWinFX (IAWinFX.dll 内)
構文
'宣言
Public Shared ReadOnly RecognitionLattice As Guid
'使用
Dim value As Guid
value = PropertyGuidsForContextNodes.RecognitionLattice
public static readonly Guid RecognitionLattice
public:
static initonly Guid RecognitionLattice
public static final Guid RecognitionLattice
public static final var RecognitionLattice : Guid
解説
このフィールドは、型が InkBullet、InkWord、Line、Paragraph、Root、または WritingRegion の ContextNode で、認識されたオブジェクトを表します。
例
次の例では、AnalysisHintNode の ContainsPropertyData メソッドで既存の RecognitionLattice を確認します。RecognitionLattice フィールドが存在する場合、返される Lattice 型のプロパティ データにより myRecognitionLattice が設定されます。
' Get the lattice that represents the recognized object
If myAnalysisHintNode.ContainsPropertyData( _
PropertyGuidsForContextNodes.RecognitionLattice) Then
Dim myRecognitionLattice As System.Windows.Ink.AnalysisCore.Lattice = _
CType(myAnalysisHintNode.GetPropertyData( _
PropertyGuidsForContextNodes.RecognitionLattice), System.Windows.Ink.AnalysisCore.Lattice)
End If
// Get the lattice that represents the recognized object
if (myAnalysisHintNode.ContainsPropertyData(
PropertyGuidsForContextNodes.RecognitionLattice))
{
System.Windows.Ink.AnalysisCore.Lattice myRecognitionLattice =
(System.Windows.Ink.AnalysisCore.Lattice)myAnalysisHintNode.GetPropertyData(
PropertyGuidsForContextNodes.RecognitionLattice);
}
プラットフォーム
Windows Vista
.NET Framework および .NET Compact Framework では、各プラットフォームのすべてのバージョンはサポートしていません。サポートされているバージョンについては、「.NET Framework システム要件」を参照してください。
バージョン情報
.NET Framework
サポート対象 : 3.0
参照
参照
PropertyGuidsForContextNodes クラス