InkWordNode.GetDescender Method
Returns the descender line for an InkWordNode object.
Namespace: Microsoft.Ink
Assembly: Microsoft.Ink.Analysis (in Microsoft.Ink.Analysis.dll)
Syntax
'Declaration
Public Function GetDescender As Point()
'Usage
Dim instance As InkWordNode
Dim returnValue As Point()
returnValue = instance.GetDescender()
public Point[] GetDescender()
public:
array<Point>^ GetDescender()
public function GetDescender() : Point[]
Return Value
Type: array<System.Drawing.Point[]
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.
Examples
The following example draws the descender line for an InkWordNode, inkWord, by using a Renderer object, theRenderer, and a Graphics object, panelGraphics, which was created by a Panel.
Dim descenderPoints As Point() = inkWord.GetDescender()
' Convert to pixel coordinates
theRenderer.InkSpaceToPixel(panelGraphics, descenderPoints)
panelGraphics.DrawLines(New Pen(Color.Yellow), descenderPoints)
Point[] descenderPoints = inkWord.GetDescender();
// Convert to pixel coordinates
theRenderer.InkSpaceToPixel(panelGraphics, ref descenderPoints);
panelGraphics.DrawLines(new Pen(Color.Yellow), descenderPoints);
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