8.1.26.23 Worksheet::SetUpperBound

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 upper row display index of the Worksheet.

Syntax

SetUpperBound(R2)

Parameters

R2
New upper row display index of the Worksheet.

Return

Returns True on successful and False on failure.

Examples

#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)

See Also

Worksheet::GetBounds