次の方法で共有


InkWordNode.GetAscender Method

Returns the ascender line for an InkWordNode object.

Namespace: System.Windows.Ink
Assembly: IAWinFX (in iawinfx.dll)

Syntax

'Declaration
Public Function GetAscender As PointCollection
'Usage
Dim instance As InkWordNode
Dim returnValue As PointCollection

returnValue = instance.GetAscender
public PointCollection GetAscender ()
public:
PointCollection^ GetAscender ()
public PointCollection GetAscender ()
public function GetAscender () : PointCollection
Not applicable.

Return Value

Returns the ascender line for an InkWordNode object.

Remarks

For Latin script, the ascender line is the portion of a lowercase letter than extends above the main body (the midline) of that letter. For example, in the letter "b," the ascender is the vertical line that extends above the highest point of the circle. The ascender line is the imaginary horizontal line across the top of the ascenders.

Example

The following example uses a Polyline to draw the ascender line for an InkWordNode, inkWord, on an InkCanvas, theInkCanvas.

Dim ascenderLine As New Polyline()

ascenderLine.Points = inkWord.GetAscender()
ascenderLine.Stroke = Brushes.Green

Me.theInkCanvas.Children.Add(ascenderLine)
Polyline ascenderLine = new Polyline();

ascenderLine.Points = inkWord.GetAscender();
ascenderLine.Stroke = Brushes.Green;

this.theInkCanvas.Children.Add(ascenderLine);

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
GetBaseline
GetDescender
GetMidline