Partilhar via


ITextSnapshot.LineCount Property

Definition

Gets the positive number of lines in the snapshot. A snapshot whose Length is zero is considered to have one line.

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

Property Value

The number of lines.

Remarks

A snapshot in which Length is zero is considered to have one line.

Applies to