Sdílet prostřednictvím


PropertyGuidsForContextNodes.RecognitionLattice Field

Specifies the globally unique identifier (GUID) for getting the Lattice that represents the recognized object.

Namespace:  Microsoft.Ink
Assembly:  Microsoft.Ink.Analysis (in Microsoft.Ink.Analysis.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 demonstrates the RecognitionLattice field.

' 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 Server 2008 R2, Windows Server 2008

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

PropertyGuidsForContextNodes Members

Microsoft.Ink Namespace