PropertyGuidsForContextNodes.Baseline Field
Specifies the globally unique identifier (GUID) for getting the point array that represents the baseline for 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 var Baseline : Guid
Remarks
The Baseline field represents the baseline for a ContextNode of type InkWord. A baseline is the imaginary horizontal line with which the base of each character, excluding the descender, is aligned. For example, the baseline for a Latin letter "p" is at the bottom of the circle.
Examples
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 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
PropertyGuidsForContextNodes Class