public void GetRangeExtents(int startOffset, int endOffset, out int x, out int y, out int width, out int height, CoordType coordType) { proxy.GetRangeExtents (startOffset, endOffset, out x, out y, out width, out height, coordType); }
public Rect [] GetBoundingRectangles() { Component comp = accessible.QueryComponent(); if (comp == null) { return(new Rect [0]); // should never happen } int x, y, width, height; text.GetRangeExtents(startOffset, endOffset, out x, out y, out width, out height, CoordType.Screen); Rect [] ret = new Rect [1]; ret [0] = new Rect(x, y, width, height); return(ret); }