SetUpperBound
Set the ending row display index for the specified columns in this Worksheet. Index values are 0 based offset.
BOOL SetUpperBound( int iR2, int iC1 = 0, int iC2 = -1 )
Returns TRUE on success and FALSE on failure.
EX1
// Set row limit for all columns in worksheet to 26 // Worksheet should be active void Worksheet_SetUpperBound_Ex1() { Worksheet wks = Project.ActiveLayer(); int nR2 = 25; // This will be row 26 in the worksheet if( wks.SetUpperBound(nR2) ) printf("Success to set upper bound of specified column!"); else printf("Fail to set upper bound of specified column!"); }
Worksheet::SetLowerBound, Worksheet::SetBounds, Worksheet::GetBounds
origin.h