8.1.7.10 Datasheet::SetRowCount

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 row in DataSheet.

Syntax

SetRowCount(Rows)

Parameters

Cols
the number of row in DataSheet

Return

Examples

EX1

#Create Book1 with one sheet
import PyOrigin
wks=PyOrigin.FindWorksheet('Book1')
#Get the number of columns in active sheet
wks.SetRowCount(10)

See Also

Datasheet::GetRowCount