.. highlightlang:: us .. _tablegetselection: TableGetSelection ================= .. index:: TableGetSelection .. us.tag TableGetSelection table.get New400 :ref:`TableGetSelection` returns the current selection. .. function:: rvSel = TableGetSelection(hTable) .. us.return **Return Value** *rvSel* is a vector with four elements specifying a range of rows and columns: .. list-table:: :header-rows: 1 * - Element - Description * - rvSel[1] - Left column of selection * - rvSel[2] - Top row of selection * - rvSel[3] - Right column of selection * - rvSel[4] - Bottom row of selection The column and row numbering starts with 1. Left is smaller than right and top is smaller than bottom. If no elements are selected *rvSel* is [0,0,0,0]. .. us.params **Parameters** .. uparam:: hTable Identifies the table object. .. us.example **Example** :: ]] [[ .. seealso:: :ref:`overview-table`, :ref:`TableSetSelection` :sub:`id-604639`