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