Share via


PropertyGuidsForContextNodesBase.Midline Field

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

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

Syntax

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

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

Remarks

This field represents the midline on a ContextNode of type InkWord. Midlines are the imaginary horizontal lines with which the top of the main body of each character, excluding extenders, is aligned.

Examples

The following example demonstrates the Midline field.

' Get the line where the top of each character is aligned on an ink word 
If myAnalysisHintNode.ContainsPropertyData( _
   PropertyGuidsForContextNodes.Midline) Then 
    Dim myMidline() As Integer = _
        CType(myAnalysisHintNode.GetPropertyData( _
        PropertyGuidsForContextNodes.Midline), Integer())
End If
// Get the line where the top of each character is aligned on an ink word 
if (myAnalysisHintNode.ContainsPropertyData(
    PropertyGuidsForContextNodes.Midline))
{
    int[] myMidline =
        (int[])myAnalysisHintNode.GetPropertyData(
        PropertyGuidsForContextNodes.Midline);
}

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