업데이트: 2007년 11월
InkWordNode 개체에 대한 어센더 선을 반환합니다.
네임스페이스: Microsoft.Ink
어셈블리: Microsoft.Ink.Analysis(Microsoft.Ink.Analysis.dll)
구문
‘선언
Public Function GetAscender As Point()
‘사용 방법
Dim instance As InkWordNode
Dim returnValue As Point()
returnValue = instance.GetAscender()
public Point[] GetAscender()
public:
array<Point>^ GetAscender()
public Point[] GetAscender()
public function GetAscender() : Point[]
반환 값
형식: array<System.Drawing.Point[]
InkWordNode 개체에 대한 어센더 선을 반환합니다.
설명
라틴 스크립트의 경우 어센더는 소문자에서 글자의 중앙 부분(중간선)보다 위로 나오는 부분입니다. 예를 들어 문자 "b"에서 어센더는 원의 가장 높은 지점 위에 나오는 세로 선입니다. 어센더 선은 어센더 위쪽의 가상 가로줄입니다.
예제
다음 예제에서는 Renderer 개체인 renderer 및 Panel에서 만든 Graphics 개체인 panelGraphics를 사용하여 InkWordNode인 inkWord의 어센더 선을 그립니다.
Dim ascenderPoints As Point() = inkWord.GetAscender()
' Convert to pixel coordinates
theRenderer.InkSpaceToPixel(panelGraphics, ascenderPoints)
panelGraphics.DrawLines(New Pen(Color.Green), ascenderPoints)
Point[] ascenderPoints = inkWord.GetAscender();
// Convert to pixel coordinates
theRenderer.InkSpaceToPixel(panelGraphics, ref ascenderPoints);
panelGraphics.DrawLines(new Pen(Color.Green), ascenderPoints);
플랫폼
Windows Vista
.NET Framework 및 .NET Compact Framework에서 모든 플랫폼의 전체 버전을 지원하지는 않습니다. 지원되는 버전의 목록을 보려면 .NET Framework 시스템 요구 사항을 참조하십시오.
버전 정보
.NET Framework
3.0에서 지원