SetInternalData
Set the Matrix internal data storage type
BOOL SetInternalData( UINT iType, BOOL bSaveData = TRUE, BOOL bSetViewData = TRUE )
TRUE, set the Matrix internal type successfully, FALSE, unsuccessful.
EX1
// Convert the internal storage type for data to BYTE // Keep the data (reduced resolution) and the current View mode void MatrixObject_SetInternalData_Ex1() { MatrixLayer mlay = Project.ActiveLayer(); if(!mlay) return; MatrixObject mobj = mlay.MatrixObjects(0); // Most Matrix windows in Origin have only one MatrixObject if(mobj.SetInternalData(FSI_BYTE, TRUE, FALSE)) out_str("successfully converted into BYTE matrix"); else out_str("conversion failed"); }
Replaced by DataObject::SetInternalDataType
Set the matrix object's internal data type
MatrixLayer::SetInternalData, MatrixObject::GetInternalData, DataObject::SetInternalDataType
origin.h