次の方法で共有


EditSpan.LengthOfLastLine Property

Definition

Returns the length of the last line of text being inserted.

public:
 property int LengthOfLastLine { int get(); };
public:
 property int LengthOfLastLine { int get(); };
public int LengthOfLastLine { get; }
member this.LengthOfLastLine : int
Public ReadOnly Property LengthOfLastLine As Integer

Property Value

Returns the number of characters on the last line of the replacement text.

Remarks

This property examines the replacement text, taking into account newlines, to calculate the length of the last line.

Applies to