GetBoundingRectangles Method

ITextRangeProvider.GetBoundingRectangles Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Retrieves a collection of bounding rectangles for each fully or partially visible line of text in a text range.

Namespace:  System.Windows.Automation.Provider
Assembly:  System.Windows (in System.Windows.dll)

double[] GetBoundingRectangles()

Return Value

Type: System.Double []
An array of bounding rectangles for each full or partial line of text in a text range. See Remarks.

This method returns an empty array for a degenerate range.

This method returns an empty array for a text range that has screen coordinates that place it completely off-screen, are scrolled out of view, or are obscured by an overlapping window.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft