x0
DataObjectBase
public
double x0
void DataObjectBase_x0_ex1() { Worksheet wks = Project.ActiveLayer(); if (!wks) return; Column col(wks, 0); double dX0 = 0.5; double dXInc = 0.5; string strXUnits = "Sampling Units"; string strXLongName = "Long Name"; if( col.SetEvenSampling(dX0, dXInc, strXUnits, strXLongName, NULL, true) ) { printf("Sampling is succesfully set into Column %s .\n", col.GetName()); printf("%0.2f\n", col.x0); } }
For Column or DataPlot that has been set with SetEvenSampling, the X value of the 1st
row. NANUM if not applicable.
origin.h
DataObjectBase::xInc