To get Y column of XYZRange
BOOL GetYColumn( Column & col, int nIndex = 0, int* pr1 = NULL, int* pr2 = NULL)
TRUE if success.
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); } }
XYZRange::GetXColumn, XYZRange::GetZColumn
origin.h