Transpose
Transpose data in a sheet
int Transpose( BOOL bSel = false, int nExchangeLabel = RCLT_INVALID, BOOL bInsertCol = true, BOOL bUndo = false )
0 if no error, otherwise <0 error codes
EX1
//Transpose the active worksheet. void Datasheet_Transpose_Ex1(int nLabelType = RCLT_LONG_NAME, BOOL bInsertCol = true, BOOL bUndo = false) { Worksheet wks = Project.ActiveLayer(); if(!wks) { out_str("Active Window is not a Workbook"); return; } int nn = wks.Transpose(false, nLabelType, bInsertCol, bUndo); if(nn == 0) printf("Workbook %s is transposed\n", wks.GetName()); else if(nn < 0) printf("Failed to transpose workbook %s.", wks.GetName()); }
origin.h