語言

TextLine 建構函式

定義

多載

名稱 Description
TextLine()

初始化 TextLine 類別的新執行個體。

TextLine(Double)

初始化 TextLine 類別的新執行個體。

TextLine()

初始化 TextLine 類別的新執行個體。

protected:
 TextLine();
protected TextLine();
Protected Sub New ()

適用於

TextLine(Double)

初始化 TextLine 類別的新執行個體。

protected:
 TextLine(double pixelsPerDip);
protected TextLine(double pixelsPerDip);
new System.Windows.Media.TextFormatting.TextLine : double -> System.Windows.Media.TextFormatting.TextLine
Protected Sub New (pixelsPerDip As Double)

參數

pixelsPerDip
Double

pixelsPerDip 應該設定為 TextSource 的 PixelsPerDip 值。

備註

這個構造子必須對每個繼承自 TextLine的類別呼叫。

適用於