InkWordNode.GetAscender 方法
返回 InkWordNode 对象的上行字母线。
命名空间: System.Windows.Ink
程序集: IAWinFX(在 IAWinFX.dll 中)
语法
声明
Public Function GetAscender As PointCollection
用法
Dim instance As InkWordNode
Dim returnValue As PointCollection
returnValue = instance.GetAscender()
public PointCollection GetAscender()
public:
PointCollection^ GetAscender()
public PointCollection GetAscender()
public function GetAscender() : PointCollection
返回值
类型:System.Windows.Media.PointCollection
返回 InkWordNode 对象的上行字母线。
备注
对于拉丁语,上行部分指小写字母的字母主体(中线)之上的部分。例如,在字母“b”中,上行部分为圆圈最高点之上的竖线。上行字母线为与上行部分顶部齐平的假想水平线。
示例
下面的示例使用 Polyline 在 InkCanvas (theInkCanvas) 上为 InkWordNode (inkWord) 绘制上行字母线。
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);
平台
Windows Vista
.NET Framework 和 .NET Compact Framework 并不是对每个平台的所有版本都提供支持。有关支持的版本的列表,请参见.NET Framework 系统要求。
版本信息
.NET Framework
受以下版本支持:3.0