2.2.4.27.9 MatrixLayer::GetInternalDataType

Description

Get internal data type of the active matrix object.

Syntax

UINT GetInternalDataType( )

Parameters

Return

An FSI_* data type constant defined in oc_const.h

Examples

EX1

//Get internal data type of the matrix.
void    MatrixLayer_GetInternalDataType_Ex1()
{
    MatrixPage mp = Project.MatrixPages(0);
    if(!mp)
        return;
    
    MatrixLayer ml(mp.GetName());
    ml.SetInternalDataType(FSI_BYTE);
    if ( ml.GetInternalDataType() == FSI_BYTE )
    	printf("Data type is byte.\n");
    else 
    	printf("Data type is not byte.\n");
}

Remark

See Also

MatrixLayer::SetInternalDataType

Header to Include

origin.h