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 Guid RecognitionLattice
public static final var RecognitionLattice : Guid
Not applicable.
Remarks
This field represents the recognized object on a ContextNode of type InkBullet, InkWord, Line, Paragraph, Root, or WritingRegion.
Example
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 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.
Version Information
.NET Framework
Supported in: 3.0
See Also
Reference
PropertyGuidsForContextNodes Class
PropertyGuidsForContextNodes Members
System.Windows.Ink Namespace