共用方式為


PropertyGuidsForContextNodes.RecognitionLattice 欄位

指定用來取得 Lattice (表示已辨識的物件) 的全域唯一識別項 (GUID)。

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