This function is use to reverse a range of rows within a column.
BOOL Reverse(int nR1 = 0, int nR2 = -1, BOOL bUndo = FALSE)
Returns TRUE if successful, or else return FALSE.
EX1
void Column_Reverse() { Worksheet wks = Project.ActiveLayer(); if ( wks && wks.GetNumCols() > 0 ) { Column col(wks, 0); //reverse cell(6) to cell(10) col.Reverse(5,9); } }
origin.h