GetPoints
This method initiates the point picking process. A maximum number of point sto pick can be specified along with the specific GraphLayer to pick from.
When called, further OriginC code will pause while the point picking process is taking place. Once either the maximum number of points has been picked or the processed cancelled via the ESC key or deactivation of the target graph, this method will return.
Hint: To pick a seemingly unlimited number of points nPts parameter could be set to something very high such as 1E6.
BOOL GetPoints(int nPts, GraphLayer &gl = NULL, LPCSTR lpcszLTvarName = NULL)
Returns non-zero if successful.
For an example of using this method, please see the Example Section in GetGraphPoints.
origin.h