GetActive
Get the index of the layer's active MatrixObject.
int GetActive( )
A zero based index.
EX1
//Get the index of the layer's active MatrixObject. void MatrixLayer_GetActive_Ex1() { MatrixPage mp = Project.MatrixPages(0); if(!mp) return; MatrixLayer ml(mp.GetName()); int n = ml.GetActive(); printf("The index of the layer's active MatrixObject is %d\n",n); }
MatrixLayer::SetActive
origin.h