PropertyGuidsForAnalysisHints.Guide 字段

指定一个全局唯一标识符 (GUID),该 GUID 可用于获取和设置表示分析提示参考线的 InkRecognizerGuide

命名空间:  System.Windows.Ink
程序集:  IAWinFX(在 IAWinFX.dll 中)

语法

声明
Public Shared ReadOnly Guide As Guid
用法
Dim value As Guid

value = PropertyGuidsForAnalysisHints.Guide
public static readonly Guid Guide
public:
static initonly Guid Guide
public static final Guid Guide
public static final var Guide : Guid

备注

此字段表示类型为 AnalysisHintContextNode 上的 InkRecognizerGuide。识别器参考线是用于绘制和识别墨迹的区域。

示例

下面的示例在 AnalysisHintNodeContainsPropertyData 方法中检查是否存在现有的 Guide。如果 Guide 字段存在,则用返回的类型为 RecognizerGuide 的属性数据填充 myGuide (Visual Basic) 或 myInkRecognizerGuideBaseByGuid (C#)。

' Get guide for analysis hint
If myAnalysisHintNode.ContainsPropertyData( _
   PropertyGuidsForAnalysisHints.Guide) Then

    Dim myInkRecognizerGuideBaseByGuid As InkRecognizerGuide = _
        CType(myAnalysisHintNode.GetPropertyData( _
        PropertyGuidsForAnalysisHints.Guide), InkRecognizerGuide)
End If
// Get guide for analysis hint
if (myAnalysisHintNode.ContainsPropertyData(
    PropertyGuidsForAnalysisHints.Guide))
{
    InkRecognizerGuide myInkRecognizerGuideBaseByGuid =
        (InkRecognizerGuide)myAnalysisHintNode.GetPropertyData(
        PropertyGuidsForAnalysisHints.Guide);
}

平台

Windows Vista

.NET Framework 和 .NET Compact Framework 并不是对每个平台的所有版本都提供支持。有关支持的版本的列表,请参见.NET Framework 系统要求

版本信息

.NET Framework

受以下版本支持:3.0

另请参见

参考

PropertyGuidsForAnalysisHints 类

PropertyGuidsForAnalysisHints 成员

System.Windows.Ink 命名空间