Editar

Partilhar via


TextEndOfLine Constructors

Definition

Initializes a new instance of the TextEndOfLine class.

Overloads

TextEndOfLine(Int32)

Initializes a new instance of the TextEndOfLine class using a specified character length.

TextEndOfLine(Int32, TextRunProperties)

Initializes a new instance of the TextEndOfLine class using a specified character length and TextRunProperties value.

TextEndOfLine(Int32)

Initializes a new instance of the TextEndOfLine class using a specified character length.

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)

Parameters

length
Int32

The number of characters in the TextEndOfLine buffer.

Applies to

TextEndOfLine(Int32, TextRunProperties)

Initializes a new instance of the TextEndOfLine class using a specified character length and TextRunProperties value.

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)

Parameters

length
Int32

The number of characters in the TextEndOfLine buffer.

textRunProperties
TextRunProperties

The TextRunProperties value to use for the characters in the TextEndOfLine buffer.

Applies to