【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.4.9.28 DataRange::IsReal
Contents
Description
Check DataRange is real or not.
Syntax
BOOL IsReal( )
Parameters
Return
True if DataRange is real, otherwise false.
Examples
EX1
//Check if the datarange is real or not. void DataRange_IsReal_Ex1() { DataRange dr; Worksheet wks; wks.Create("ORIGIN"); while (wks.DeleteCol(0)); wks.AddCol("A"); dr.Add("Range1", wks, 0, 0, -1, 0); if (dr.IsReal()) out_str("DataRange is real"); else out_str("DataRange is not real"); dr.Add("Range2", wks, 0, 1, -1, 1); //add a null column to range if (dr.IsReal()) out_str("DataRange is real"); else out_str("DataRange is not real"); }
Remark
See Also
Header to Include
origin.h