Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 function GetBaseline() : PointCollection
Return Value
Type: System.Windows.Media.PointCollection
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. For the Latin letter "p" the baseline is at the bottom of the circle.
Examples
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 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