Grid::IsTransposed

Description

to check table is transpose or not

Syntax

BOOL IsTransposed( )

Parameters

Return

TRUE if already transposed else FALSE.

Examples

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() );
    }    
}

Remark

See Also

Grid::SetTranspose

header to Include

origin.h