InkWordNode.GetDescender Method
Returns the descender line for an InkWordNode object.
Namespace: System.Windows.Ink
Assembly: IAWinFX (in iawinfx.dll)
Syntax
'Declaration
Public Function GetDescender As PointCollection
'Usage
Dim instance As InkWordNode
Dim returnValue As PointCollection
returnValue = instance.GetDescender
public PointCollection GetDescender ()
public:
PointCollection^ GetDescender ()
public PointCollection GetDescender ()
public function GetDescender () : PointCollection
Not applicable.
Return Value
Returns the descender line for an InkWordNode object.
Remarks
For western languages, the descender is the portion of a lowercase letter that falls below the baseline, such as the vertical line of the letter "p" that extends below the lowest point of the circle in that letter. The descender line is the imaginary horizontal line that runs along the bottom of the descenders.
Example
The following example uses a Polyline to draw the descender line for an InkWordNode, inkWord
, on an InkCanvas, theInkCanvas
.
Dim descenderLine As New Polyline()
descenderLine.Points = inkWord.GetDescender()
descenderLine.Stroke = Brushes.Yellow
theInkCanvas.Children.Add(descenderLine)
Polyline descenderLine = new Polyline();
descenderLine.Points = inkWord.GetDescender();
descenderLine.Stroke = Brushes.Yellow;
theInkCanvas.Children.Add(descenderLine);
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
GetBaseline
GetMidline