SetNumCols
Set the number of columns in a MatixLayer.
BOOL SetNumCols( int nCols, BOOL bUndo = false )
Returns TRUE on successful exit and FALSE on failure.
EX1
//Set the number of columns in a MatixLayer. void MatrixLayer_SetNumCols_Ex1() { MatrixPage mp = Project.MatrixPages(0); if(!mp) return; MatrixLayer ml(mp.GetName()); if( ml.SetNumCols(50) ) printf("Success to set the number of columns"); else printf("Fail to set the number of columns"); }
Set the number of columns in a MatrixLayer.
Datasheet::GetNumRows, Datasheet::SetNumRows, Datasheet::GetNumCols
origin.h