共用方式為


InkWordNode.GetDescender 方法

InkWordNode 物件傳回下緣線。

命名空間:  Microsoft.Ink
組件:  Microsoft.Ink.Analysis (在 Microsoft.Ink.Analysis.dll 中)

語法

'宣告
Public Function GetDescender As Point()
'用途
Dim instance As InkWordNode
Dim returnValue As Point()

returnValue = instance.GetDescender()
public Point[] GetDescender()
public:
array<Point>^ GetDescender()
public Point[] GetDescender()
public function GetDescender() : Point[]

傳回值

型別:array<System.Drawing.Point[]
InkWordNode 物件傳回下緣線。

備註

對西方語系而言,下緣就是落在基線之下的小寫字母部分,例如在字母 "p" 中,下緣即為該字母中圓圈最低點之下延伸的垂直線。下緣線是沿著下行字母底端拉出的一條想像水平線。

範例

下列範例會使用 Renderer 物件 (變數名稱為 theRenderer) 和 Panel (英文) 所建立的 Graphics (英文) 物件 (變數名稱為 panelGraphics),為 InkWordNode (變數名稱為 inkWord) 繪製下緣線。

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);

平台

Windows Vista

.NET Framework 和 .NET Compact Framework 並不支援各種平台的所有版本。如需支援平台版本的相關資訊,請參閱 .NET Framework 系統需求

版本資訊

.NET Framework

支援版本:3.0

請參閱

參考

InkWordNode 類別

InkWordNode 成員

Microsoft.Ink 命名空間

GetAscender

GetBaseline

GetMidline