【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.4.27.4 MatrixLayer::Delete
Contents
Description
Delete a number of MatrixObjects from the matrix layer.
Syntax
BOOL Delete( int nPos, uint nNumObjs = 1 )
Parameters
- nPos
- [input] position for first matrix object to delete
- nNumObjs
- [input] number of matrix objects to delete. default is 1.
Return
TRUE on success and FALSE on failure.
Examples
EX1
//Delete a MatrixObject from the matrix layer. void MatrixLayer_Delete_Ex1() { MatrixPage mp = Project.MatrixPages(0); if(!mp) return; MatrixLayer ml(mp.GetName()); if( ml.Delete(1) ) printf("Success to delete matrix object!"); else printf("Fail to delete specified matrix object!"); }
Remark
See Also
Header to Include
origin.h