InkWordNode オブジェクトのベースラインを返します。
名前空間 : Microsoft.Ink
アセンブリ : Microsoft.Ink.Analysis (Microsoft.Ink.Analysis.dll 内)
構文
'宣言
Public Function GetBaseline As Point()
'使用
Dim instance As InkWordNode
Dim returnValue As Point()
returnValue = instance.GetBaseline()
public Point[] GetBaseline()
public:
array<Point>^ GetBaseline()
public Point[] GetBaseline()
public function GetBaseline() : Point[]
戻り値
型 : array<System.Drawing.Point[]
InkWordNode オブジェクトのベースラインを返します。
解説
ベースラインは、各文字のベース (デセンダを除く) が揃えられる架空の横線です。
例
次の例では、Renderer オブジェクト theRenderer と、Panel により作成された Graphics オブジェクト panelGraphics を使用して、InkWordNode、inkWord のベースラインを描画します。
Dim basePoints As Point() = inkWord.GetBaseline()
' Convert to pixel coordinates
theRenderer.InkSpaceToPixel(panelGraphics, basePoints)
panelGraphics.DrawLines(New Pen(Color.Purple), basePoints)
Point[] basePoints = inkWord.GetBaseline();
// Convert to pixel coordinates
theRenderer.InkSpaceToPixel(panelGraphics, ref basePoints);
panelGraphics.DrawLines(new Pen(Color.Purple), basePoints);
プラットフォーム
Windows Vista
.NET Framework および .NET Compact Framework では、各プラットフォームのすべてのバージョンはサポートしていません。サポートされているバージョンについては、「.NET Framework システム要件」を参照してください。
バージョン情報
.NET Framework
サポート対象 : 3.0