PropertyGuidsForContextNodes.AlignmentLevel Field
Specifies the globally unique identifier (GUID) for getting and setting the integer that represents the alignment level on a paragraph.
Namespace: Microsoft.Ink
Assembly: Microsoft.Ink.Analysis (in Microsoft.Ink.Analysis.dll)
'Declaration
Public Shared ReadOnly AlignmentLevel As Guid
'Usage
Dim value As Guid
value = PropertyGuidsForContextNodes.AlignmentLevel
public static readonly Guid AlignmentLevel
public:
static initonly Guid AlignmentLevel
public static final var AlignmentLevel : Guid
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.
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);
}
Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008
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.
Supported in: 3.0
PropertyGuidsForContextNodes Class