PropertyGuidsForContextNodes.RecognitionLattice Field
Specifies the globally unique identifier (GUID) for getting the Lattice that represents the recognized object.
Namespace: System.Windows.Ink
Assembly: IAWinFX (in IAWinFX.dll)
Syntax
'Declaration
Public Shared ReadOnly RecognitionLattice As Guid
'Usage
Dim value As Guid
value = PropertyGuidsForContextNodes.RecognitionLattice
public static readonly Guid RecognitionLattice
public:
static initonly Guid RecognitionLattice
public static final var RecognitionLattice : Guid
Remarks
This field represents the recognized object on a ContextNode of type InkBullet, InkWord, Line, Paragraph, Root, or WritingRegion.
Examples
The following example checks for an existing RecognitionLattice in the ContainsPropertyData method of an AnalysisHintNode. If the RecognitionLattice field exists, the returned property data of type Lattice populates 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);
}
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
See Also
Reference
PropertyGuidsForContextNodes Class