TextLine 建構函式

定義

多載

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 的每個類別,都必須呼叫這個建構函式。

適用於