PropertyGuidsForContextNodesBase.AlignmentLevel 字段

指定一个全局唯一标识符 (GUID),该 GUID 可用于获取和设置表示段落对齐级别的整数。

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

语法

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

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

备注

此字段表示类型为 ParagraphContextNode 的对齐级别。对齐级别是每个段落相对于其他段落的缩进层数或制表位数。对齐级别不表示距离页边空白的具体制表符距离。

示例

下面的示例演示 AlignmentLevel 字段。

' Get the relative number of indents or tab stops on a paragraph
If myAnalysisHintNode.ContainsPropertyData( _
    PropertyGuidsForContextNodes.AlignmentLevel) Then
    Dim myAlignmentLevel As Integer = _
        CType(myAnalysisHintNode.GetPropertyData( _
        PropertyGuidsForContextNodes.AlignmentLevel), Integer)
End If
// Get the relative number of indents or tab stops on a paragraph
if (myAnalysisHintNode.ContainsPropertyData(
    PropertyGuidsForContextNodes.AlignmentLevel))
{
    int myAlignmentLevel = 
        (int)myAnalysisHintNode.GetPropertyData(
        PropertyGuidsForContextNodes.AlignmentLevel);
}

平台

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 命名空间