Share via


PropertyGuidsForContextNodesBase.AlignmentLevel Field

Specifies the globally unique identifier (GUID) for getting and setting the integer that represents the alignment level on a paragraph.

Namespace:  System.Windows.Ink.AnalysisCore
Assembly:  IACore (in IACore.dll)

Syntax

'Declaration
Public Shared ReadOnly AlignmentLevel As Guid
'Usage
Dim value As Guid 

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

Remarks

This field represents the alignment level on a ContextNode of type Paragraph. The alignment level is the number of indents or tab stops each paragraph has relative to other paragraphs. The alignment level does not represent a specific tab distance from the margin.

Examples

The following example demonstrates the AlignmentLevel field.

' 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);
}

Platforms

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

PropertyGuidsForContextNodesBase Class

PropertyGuidsForContextNodesBase Members

System.Windows.Ink.AnalysisCore Namespace