【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.4.27.15 MatrixLayer::Open
Contents
Description
Opens a new matrix from the supplied OGM file and attaches it to the object.
Syntax
BOOL Open( LPCSTR lpcszFileName, int nOption = CREATE_VISIBLE )
Parameters
- lpcszFileName
- [input] the OGM file name
- nOption
- [input] visibility determined by CREATE_TEMP etc (OC_const.h).
Return
TRUE for success; otherwise FALSE.
Examples
EX1
//Opens a new matrix from the supplied OGM file and attaches it to the object. void MatrixLayer_Open_Ex1() { MatrixLayer mat; string strOGM = GetOpenBox("*.ogm"); int nOption = CREATE_VISIBLE_SAME; BOOL bRet = mat.Open(strOGM, nOption); out_int("bRet = ", bRet); }
Remark
See Also
Header to Include
origin.h