Set the begining row display index.
BOOL SetLowerBound( int iR1, BOOL bUndo = FALSE )
Returns TRUE on success and FALSE on failure.
EX1
// Create a worksheet with data, then hide some of the data void Column_SetLowerBound_Ex1() { Worksheet wks; wks.Create("Origin",CREATE_VISIBLE); DataRange dr; vector v1; v1.Data(1,100); // Fill column 1 with data dr.Add("X", wks, 0, 0, -1, 0); dr.Add("Y", wks, 0, 1, -1, 1); vector v2; v2.Normal(100); dr.SetData(&v2, &v1); Column colObj(wks, 0); int nR2 = 26; colObj.SetLowerBound(nR2); // Limit display to rows 26 to 100 colObj.Attach(wks, 1); // Re-use Column object for second column colObj.SetLowerBound(nR2); // Limit display to rows 26 to 100 }
Set the begining row display indices for this column.
Column::SetUpperBound, Column::GetUpperBound, Column::GetLowerBound
origin.h