【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.4.27.17 MatrixLayer::SetActive
Contents
Description
Set the layer's active MatrixObject by index.
Syntax
BOOL SetActive( int nIndex )
Parameters
- nIndex
- [input] index of MatrixObject to activate.
Return
If successful then TRUE else FALSE.
Examples
EX1
//Set the layer's active MatrixObject by index. void MatrixLayer_SetActive_Ex1() { MatrixPage mp = Project.MatrixPages(0); if(!mp) return; MatrixLayer ml(mp.GetName()); if(ml.SetActive(0)) printf("success to active it"); else printf("fail to active it"); }
Remark
See Also
Header to Include
origin.h