GetInternalDataType
Get internal data type of the active matrix object.
UINT GetInternalDataType( )
Data type, enum FSITYPE{
};
EX1
void DataObject_GetInternalDataType_ex1() { WorksheetPage wksPage; wksPage.Create("origin"); Worksheet wks(wksPage.GetName()); Column col(wks, 0); if(col) { col.SetInternalDataType(FSI_BYTE); if( col.GetInternalDataType() == FSI_BYTE ) printf("Data type of this column is BYTE!\n"); } }
EX2
void DataObject_GetInternalDataType_ex2() { MatrixLayer ml = Project.ActiveLayer(); if ( !ml ) { printf("Can not access active matrixsheet"); return; } MatrixObject mo = ml.MatrixObjects(0); //get first matrixobject printf("matrixobject's internal data type is %d\n", mo.GetInternalDataType()); return; }
DataObject::SetInternalDataType
origin.h