8.1.26.12 Worksheet::GetSelectedColumns
It is recommended that you switch to the originpro package. PyOrigin is primarily for users who need to work with Origin version prior to 2021. |
Contents
Description
Fill a vector with column indexes where column is completely or partially selected
Syntax
GetSelectedColumns()
Parameters
Return
Vector of integers which will receive the 0-offset indices of all selected columns
Examples
import PyOrigin wks=PyOrigin.WorksheetPages('Book1').Layers(0) vec=wks.GetSelectedColumns() print('The index of the select column is:') for x in vec: print(x)