PropertyGuidsForContextNodes.Baseline 字段

指定一个全局唯一标识符 (GUID),该 GUID 可用于获取表示墨迹单词基线的点数组。

命名空间:  Microsoft.Ink
程序集:  Microsoft.Ink.Analysis(在 Microsoft.Ink.Analysis.dll 中)

语法

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

value = PropertyGuidsForContextNodes.Baseline
public static readonly Guid Baseline
public:
static initonly Guid Baseline
public static final Guid Baseline
public static final var Baseline : Guid

备注

此字段表示类型为 InkWordContextNode 上的基线。基线是每个字符(下行部分除外)的基部与之平齐的假想水平线。

示例

下面的示例演示 Baseline 字段。

' Get the base of each character in a line of text
If myAnalysisHintNode.ContainsPropertyData( _
   PropertyGuidsForContextNodes.Baseline) Then
    Dim myBaseline() As Integer = _
        CType(myAnalysisHintNode.GetPropertyData( _
        PropertyGuidsForContextNodes.Baseline), Integer())
End If
// Get the base of each character in a line of text
if (myAnalysisHintNode.ContainsPropertyData(
    PropertyGuidsForContextNodes.Baseline))
{
    int[] myBaseline =
        (int[])myAnalysisHintNode.GetPropertyData(
        PropertyGuidsForContextNodes.Baseline);
}

平台

Windows Vista

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

版本信息

.NET Framework

受以下版本支持:3.0

另请参见

参考

PropertyGuidsForContextNodes 类

PropertyGuidsForContextNodes 成员

Microsoft.Ink 命名空间