【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.4.27.22 MatrixLayer::SetNumCols
Contents
Description
Set the number of columns in a MatixLayer.
Syntax
BOOL SetNumCols( int nCols, BOOL bUndo = false )
Parameters
- nCols
- [input] Input number of columns to set
- bUndo
- [input] true to support undo mechanism
Return
Returns TRUE on successful exit and FALSE on failure.
Examples
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"); }
Remark
Set the number of columns in a MatrixLayer.
See Also
Datasheet::GetNumRows, Datasheet::SetNumRows, Datasheet::GetNumCols
Header to Include
origin.h