PropertyGuidsForContextNodes.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
Assembly: IAWinFX (in iawinfx.dll)
Syntax
'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 Guid AlignmentLevel
public static final var AlignmentLevel : Guid
Not applicable.
Remarks
The AlignmentLevel 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.
Example
The following example checks for an existing AlignmentLevel in the ContainsPropertyData method of an AnalysisHintNode. If the AlignmentLevel field exists, it is converted to an integer and populates the variable, myAlignmentLevel
.
' 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 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.
Version Information
.NET Framework
Supported in: 3.0
See Also
Reference
PropertyGuidsForContextNodes Class
PropertyGuidsForContextNodes Members
System.Windows.Ink Namespace