MakeFullRowRange
Make a new XYRange with full row range from existing one.
BOOL MakeFullRowRange( XYRange & xy )
TRUE if success
EX1
//Output a new XYRange description with full row range from existing one. void XYRange_MakeFullRowRange_ex1() { //assume there exists an worksheet with at least two columns Worksheet wks = Project.ActiveLayer(); if ( wks ) { XYRange xyRange; xyRange.Add(wks, 0, "X", 0, 0, 4); xyRange.Add(wks, 1, "Y", 1, 0, 4); //four data in each sub range string strDescription = xyRange.GetDescription(); out_str(strDescription); XYRange xyCloned; xyRange.MakeFullRowRange(xyCloned); strDescription = xyCloned.GetDescription(); out_str(strDescription); return; } }
XYRange::MakePlot
origin.h