Dela via


ITextProvider.GetVisibleRanges Method

Definition

Retrieves an array of disjoint text ranges from a text container. Each text range begins with the first partially visible line and ends with the last partially visible line.

public:
 Platform::Array <ITextRangeProvider ^> ^ GetVisibleRanges();
winrt::array_view <ITextRangeProvider const&> GetVisibleRanges();
public ITextRangeProvider[] GetVisibleRanges();
function getVisibleRanges()
Public Function GetVisibleRanges () As ITextRangeProvider()

Returns

The collection of visible text ranges within a container or an empty array. This method never returns null.

Applies to