8.1.17.5 Matrixsheet::SetShape
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. |
Description
Set the number of rows and columns.
Syntax
SetShape(nRows, nCols, bKeepData)
Parameters
- nRows
- number of rows to set
- nCols
- number of columns to set
- bKeepData
- TRUE to keep data, default is FALSE
Return
Returns TRUE on successful exit and FALSE on failure.
Examples
EX1
import PyOrigin msheet = PyOrigin.ActiveLayer() msheet.SetShape(5,5)