PropertyGuidsForContextNodesBase.Midline 字段

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

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

语法

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

value = PropertyGuidsForContextNodesBase.Midline
public static readonly Guid Midline
public:
static initonly Guid Midline
public static final Guid Midline
public static final var Midline : Guid

备注

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

示例

下面的示例演示 Midline 字段。

' Get the line where the top of each character is aligned on an ink word
If myAnalysisHintNode.ContainsPropertyData( _
   PropertyGuidsForContextNodes.Midline) Then
    Dim myMidline() As Integer = _
        CType(myAnalysisHintNode.GetPropertyData( _
        PropertyGuidsForContextNodes.Midline), Integer())
End If
// Get the line where the top of each character is aligned on an ink word
if (myAnalysisHintNode.ContainsPropertyData(
    PropertyGuidsForContextNodes.Midline))
{
    int[] myMidline =
        (int[])myAnalysisHintNode.GetPropertyData(
        PropertyGuidsForContextNodes.Midline);
}

平台

Windows Vista, Windows XP SP2, Windows Server 2003

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

版本信息

.NET Framework

受以下版本支持:3.0

另请参见

参考

PropertyGuidsForContextNodesBase 类

PropertyGuidsForContextNodesBase 成员

System.Windows.Ink.AnalysisCore 命名空间