You are viewing information archived from Mozilla.org on 2015-08-05.

void nsIAccessibleText.getSelectionBounds

(in long selectionNum,
  out long startOffset,
  out long endOffset)

Gets the text from the specified selection.

Documentation

Gets the text from the specified selection.
Parameters:
selectionNum - The selection number. The selected regions are assigned numbers that correspond to <br> how far the region is from the start of the text. The selected region closest to the beginning of <br> the text region is assigned the number 0, etc. Note that adding, moving or deleting a selected region<br> can change the numbering.
startOffset - passes back the start position of the selected region
endOffset - passes back the end position of the selected region



Alphabetic index



This page was generated with the help of DOC++.