Set the upper row display index of the Worksheet.
SetUpperBound(R2)
Returns True on successful and False on failure.
#Create Book1 with one sheet with 3column and 10row, set some numbers in sheet import PyOrigin wks=PyOrigin.FindWorksheet('Book1') #display the first 4 rows wks.SetUpperBound(3)
Worksheet::GetBounds