2.2.4.28.12 MatrixObject::GetFormat

Description

Get the data format of the matrix

Syntax

int GetFormat( )

Parameters

Return

The integer code representing the format

Examples

EX1

// Matrix must exist in project
void MatrixObject_GetFormat_Ex1()
{
    MatrixObject moMy(Project.MatrixPages(0).GetName(), 0);
    if (moMy.SetFormat(OKCOLTYPE_NUMERIC))
        out_str("Format setting successfully!");
    else
        out_str("Format setting error!");
    printf("the data format in the matrix is %d", moMy.GetFormat());     
}

Remark

Get the data format of the matrix. Currently, only numeric is supported .

See Also

MatrixObject::SetFormat

Header to Include

origin.h