SetBounds
Set the begining and ending row indices for the specified columns in this Worksheet.
BOOL SetBounds( int iR1 = 0, int iC1 = 0, int iR2 = -1, int iC2 = -1 )
Returns TRUE on success and FALSE on failure.
EX1
// usage // wks_set_bound 1 0;// to clear worksheet // wks_set_bound 3 200;// show rows from 3 to 200 void Worksheet_SetBounds_Ex1(int nBegin, int nEnd) { Worksheet wks = Project.ActiveLayer(); // convert LabTalk index into C index int nR1 = nBegin -1; int nR2 = nEnd -1; if( wks.SetBounds(nR1, 0, nR2) ) printf("Success to set worksheet bounds!"); else printf("Fail to set worksheet bounds!"); }
Worksheet::GetBounds, Worksheet::SetLowerBound, Worksheet::SetUpperBound, Worksheet::SetSize
origin.h