【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.4.22.22 Grid::Insert
Contents
Description
Based on the current selection, it inserts rows or columns if entire rows or columns are selected.
Syntax
BOOL Insert( BOOL bUndo = FALSE )
Parameters
- bUndo
Return
TRUE if success else FALSE.
Examples
EX1
//before running please highlight one column or one row void Grid_Insert_ex1() { Worksheet wks = Project.ActiveLayer(); if(wks) { Grid gg; gg.Attach(wks); if(gg) { printf("Rows:%d\tColumns:%d\n", gg.Rows, gg.Cols); gg.Insert(); printf("Rows:%d\tColumns:%d\n", gg.Rows, gg.Cols); } } }
Remark
See Also
Header to Include
origin.h