TextEndOfLine 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 TextEndOfLine 類別的新執行個體。
多載
| 名稱 | Description |
|---|---|
| TextEndOfLine(Int32) |
使用指定的字元長度初始化該類別的新 TextEndOfLine 實例。 |
| TextEndOfLine(Int32, TextRunProperties) |
使用指定的字元長度與TextEndOfLine值初始化類別的新實例TextRunProperties。 |
TextEndOfLine(Int32)
使用指定的字元長度初始化該類別的新 TextEndOfLine 實例。
public:
TextEndOfLine(int length);
public TextEndOfLine(int length);
new System.Windows.Media.TextFormatting.TextEndOfLine : int -> System.Windows.Media.TextFormatting.TextEndOfLine
Public Sub New (length As Integer)
參數
- length
- Int32
緩衝區中的 TextEndOfLine 字元數。
適用於
TextEndOfLine(Int32, TextRunProperties)
使用指定的字元長度與TextEndOfLine值初始化類別的新實例TextRunProperties。
public:
TextEndOfLine(int length, System::Windows::Media::TextFormatting::TextRunProperties ^ textRunProperties);
public TextEndOfLine(int length, System.Windows.Media.TextFormatting.TextRunProperties textRunProperties);
new System.Windows.Media.TextFormatting.TextEndOfLine : int * System.Windows.Media.TextFormatting.TextRunProperties -> System.Windows.Media.TextFormatting.TextEndOfLine
Public Sub New (length As Integer, textRunProperties As TextRunProperties)
參數
- length
- Int32
緩衝區中的 TextEndOfLine 字元數。
- textRunProperties
- TextRunProperties
就是 TextRunProperties 緩衝區中字元 TextEndOfLine 要用的值。