From[in] Refers to the EditorPosition object that contains the cursor position of the beginning of the selection.To[in] Refers to the EditorPosition object that contains the cursor position of the end of the selection. The end of the selection must be on the same page on which the beginning is.