InkWordNode.GetBaseline Method
Returns the baseline line for an InkWordNode object.
Namespace: System.Windows.Ink
Assembly: IAWinFX (in iawinfx.dll)
Syntax
'Declaration
Public Function GetBaseline As PointCollection
'Usage
Dim instance As InkWordNode
Dim returnValue As PointCollection
returnValue = instance.GetBaseline
public PointCollection GetBaseline ()
public:
PointCollection^ GetBaseline ()
public PointCollection GetBaseline ()
public function GetBaseline () : PointCollection
Not applicable.
Return Value
Returns the baseline line for an InkWordNode object.
Remarks
The baseline is the imaginary horizontal line with which the base of each character (excluding descenders) is aligned.
Example
The following example uses a Polyline to draw the baseline for an InkWordNode, inkWord
, on an InkCanvas, theInkCanvas
.
Dim baseline As New Polyline()
baseline.Points = inkWord.GetBaseline()
baseline.Stroke = Brushes.Purple
theInkCanvas.Children.Add(baseline)
Polyline baseline = new Polyline();
baseline.Points = inkWord.GetBaseline();
baseline.Stroke = Brushes.Purple;
theInkCanvas.Children.Add(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
InkWordNode Class
InkWordNode Members
System.Windows.Ink Namespace
GetAscender
GetDescender
GetMidline