PropertyGuidsForContextNodes.RecognitionLattice 字段

指定一个全局唯一标识符 (GUID),该 GUID 可用于获取表示已识别对象的 Lattice。

命名空间:  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

备注

此字段表示类型为 InkBulletInkWordLineParagraphRootWritingRegionContextNode 上的已识别对象。

示例

下面的示例在 AnalysisHintNodeContainsPropertyData 方法中检查确认是否有 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 类

PropertyGuidsForContextNodes 成员

System.Windows.Ink 命名空间