Sdílet prostřednictvím


PropertyGuidsForContextNodes.Baseline Field

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

Namespace:  Microsoft.Ink
Assembly:  Microsoft.Ink.Analysis (in Microsoft.Ink.Analysis.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 var Baseline : Guid

Remarks

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

Examples

The following example demonstrates the Baseline field.

' 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 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.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

PropertyGuidsForContextNodes Class

PropertyGuidsForContextNodes Members

Microsoft.Ink Namespace