Ejemplo n.º 1
0
 /// <summary>
 /// Retrieves the bounding rectangles for viewable lines of the range.
 /// </summary>
 /// <returns>An array of bounding rectangles for each line or portion of a line within the client area of the text provider.
 /// No bounding rectangles will be returned for lines that are empty or scrolled out of view.  Note that even though a
 /// bounding rectangle is returned the corresponding text may not be visible due to overlapping windows.
 /// This will not return null, but may return an empty array.</returns>
 public Rect[] GetBoundingRectangles()
 {
     return(UiaCoreApi.TextRange_GetBoundingRectangles(_hTextRange));
 }