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