In This Article

ITextViewLineCollection Interface

Provides the base requirements for a read-only collection of ITextViewLine objects.

public interface ITextViewLineCollection

Properties

FirstVisiblePosition

Gets the TextPosition of the first visible character or intra-text adornment.

TextPosition FirstVisiblePosition { get; }

Property Value

TextPosition:

The TextPosition of the first visible character or intra-text adornment.

See Also

FullyVisibleCount

Gets the number of lines that are fully visible, including any virtual view lines that might fill the text area below the last real view line.

int FullyVisibleCount { get; }

Property Value

int:

The number of lines that are fully visible, including any virtual view lines that might fill the text area below the last real view line.

Remarks

Since this property's value might count virtual view lines that aren't in this collection, its count could be larger than the number of view lines in the collection. This scenario can occur when the view is scrolled such that there is text area space below the last real view line.

See Also

MaxWidth

Gets the maximum width of the lines in this collection.

double MaxWidth { get; }

Property Value

double:

The maximum width of the lines in this collection.

See Also

SnapshotRange

Gets the TextSnapshotRange that contains the text range rendered with the view lines.

TextSnapshotRange SnapshotRange { get; }

Property Value

TextSnapshotRange:

The TextSnapshotRange that contains the text range rendered with the view lines.

See Also

See Also