8.1.2.35 Column::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 ending row display indices for this column. Index values are 0 based offsets so use SetUpperBound(-1) to display no rows.

Syntax

SetUpperBound(iR2)

Parameters

iR2
Ending row index (0 based) number

Return

Returns True on success and False on failure.

Examples

import PyOrigin
PyOrigin.FindWorksheet('[Book1]Sheet1').Columns(0).SetUpperBound(10)

See Also

Column::GetUpperBound