SetTranspose
to transpose table.
BOOL SetTranspose( BOOL bSet, BOOL bUndo = FALSE )
TRUE if success else FALSE.
EX1
// Before running, highlight XY columns and do Fit Linear, and keep result sheet is active. void Grid_SetTranspose_ex1() { Worksheet wks = Project.ActiveLayer(); if(wks) { Grid gg; gg.Attach(wks, 2); //Note table gg.SetTranspose( !gg.IsTransposed() ); } }
Grid::IsTransposed
origin.h