InkWordNode.GetDescender - метод
Обновлен: Ноябрь 2007
Returns the descender line for an InkWordNode object.
Пространство имен: 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[]
Returns the descender line for an InkWordNode object.
Заметки
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.
Примеры
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);
Платформы
Windows Vista
Среды .NET Framework и .NET Compact Framework поддерживают не все версии каждой платформы. Поддерживаемые версии перечислены в разделе Требования к системе для .NET Framework.
Сведения о версии
.NET Framework
Поддерживается в версии: 3.0