PropertyGuidsForContextNodes.RecognitionLattice 字段
指定一个全局唯一标识符 (GUID),该 GUID 可用于获取表示已识别对象的 Lattice。
命名空间: Microsoft.Ink
程序集: Microsoft.Ink.Analysis(在 Microsoft.Ink.Analysis.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 上的已识别对象。
示例
下面的示例演示 RecognitionLattice 字段。
' 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 类