【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.4.50.6 XYZRange::XYZRange
Contents
Description
Default constructor.
Copy constructor.
Syntax
XYZRange( )
XYZRange( const DataRange & source )
Parameters
- source
- [input]The source data range object to copy
Return
None.
Examples
EX1
//Get the description of the XYZRange. void XYZRange_XYZRange_ex1() { //assume there exists active worksheet with at least three columns. Worksheet wks = Project.ActiveLayer(); if ( wks ) { XYZRange dr; dr.Add(wks, 0, "X"); dr.Add(wks, 1, "Y"); dr.Add(wks, 2, "Z"); string strDescription = dr.GetDescription(); out_str(strDescription); } }
EX2
//Get the description of the XYZRange. void XYZRange_XYZRange_ex2() { //assume there exists an worksheet with at least three columns Worksheet wks = Project.ActiveLayer(); if ( wks ) { DataRange dataRange; dataRange.Add(wks, 0, "X", 0, 0, 4); dataRange.Add(wks, 1, "Y", 1, 0, 4); dataRange.Add(wks, 2, "Z", 2, 0, 4);//four data in each sub range XYZRange xyzCloned(dataRange); string strDescription = xyzCloned.GetDescription(); out_str(strDescription); return; } }
Remark
See Also
DataRange::Add, DataRange::GetDescription
Header to Include
origin.h