【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.4.22.6 Grid::Cols
Contents
ClassName
Grid
AccessType
public
Name
Cols
Declaration
int Cols
Remark
Examples
EX1
//Output the Grid's Cols and Rows, including label rows. void Grid_Cols_ex1() { Worksheet wks = Project.ActiveLayer(); if(wks) { Grid gg; gg.Attach(wks); if(gg) { printf("Rows:%d, Cols:%d\n", gg.Rows, gg.Cols); } } }
Description
The total number of columns.
Header to Include
origin.h