ITextRangeProvider.GetBoundingRectangles 方法

定义

检索由文本范围中每个完全或部分可见的文本行的边框组成的集合。Retrieves a collection of bounding rectangles for each fully or partially visible line of text in a text range.

public:
 cli::array <double> ^ GetBoundingRectangles();
public double[] GetBoundingRectangles ();
abstract member GetBoundingRectangles : unit -> double[]
Public Function GetBoundingRectangles () As Double()

返回

Double[]

文本范围中每个完全或部分可见的文本行的边框组成的数组。An array of bounding rectangles for each full or partial line of text in a text range.

对于退化范围,则为一个空数组。An empty array for a degenerate range.

对于其屏幕坐标完全位于屏幕之外的文本范围、滚动到视图之外的文本范围或者被某个重叠窗口遮盖住的文本范围,为一个空数组。An empty array for a text range that has screen coordinates placing it completely off-screen, scrolled out of view, or obscured by an overlapping window.

适用于