2.2.4.50.3 XYZRange::GetYColumnGetYColumn
Description
To get Y column of XYZRange
Syntax
BOOL GetYColumn( Column & col, int nIndex = 0, int* pr1 = NULL, int* pr2 = NULL)
Parameters
- col
- [output]the Y column
- nIndex
- [input]the data index
- pr1
- [output]if not NULL, will get row range
- pr2
- [output]if not NULL, will get row range
Return
TRUE if success.
Examples
EX1
// Get Y column of XYZRange
void XYZRange_GetYColumn_Ex1()
{
Worksheet wks;
wks= Project.ActiveLayer();
XYZRange xyzData;
if( wks )
{
xyzData.Add("X", wks, 0, 0, -1, 0);
xyzData.Add("Y", wks, 0, 1, -1, 1);
xyzData.Add("Z", wks, 0, 2, -1, 2);
Column colY;
int nIndex = 0;
xyzData.GetYColumn(colY, nIndex);
}
}
Remark
See Also
XYZRange::GetXColumn, XYZRange::GetZColumn
Header to Include
origin.h
|