Share via


PropertyGuidsForContextNodes.Baseline Field

Specifies the globally unique identifier (GUID) for getting the point array that represents the baseline on an ink word.

Namespace: System.Windows.Ink
Assembly: IAWinFX (in iawinfx.dll)

Syntax

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

value = PropertyGuidsForContextNodes.Baseline
public static readonly Guid Baseline
public:
static initonly Guid Baseline
public static final Guid Baseline
public static final var Baseline : Guid
Not applicable.

Remarks

The Baseline field represents the baseline on a ContextNode of type InkWord. Baselines are the imaginary horizontal line with which the base of each character, excluding the descender, is aligned.

Example

The following example checks for an existing Baseline in the ContainsPropertyData method of an AnalysisHintNode. If the Baseline field exists, it is converted to a point array to populate myBaseline.

' Get the base of each character in a line of text
If myAnalysisHintNode.ContainsPropertyData( _
   PropertyGuidsForContextNodes.Baseline) Then

    Dim myBaseline As Integer() = _
        CType(myAnalysisHintNode.GetPropertyData( _
        PropertyGuidsForContextNodes.Baseline), Integer())
End If
// Get the base of each character in a line of text
if (myAnalysisHintNode.ContainsPropertyData(
    PropertyGuidsForContextNodes.Baseline))
{
    int[] myBaseline =
        (int[])myAnalysisHintNode.GetPropertyData(
        PropertyGuidsForContextNodes.Baseline);
}

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