ITextProvider.GetVisibleRanges Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.