Check if the column has even sampling and get the sampling information.
BOOL IsEvenSampling( double * px0 = NULL, double * pxInc = NULL, string * pStrXUnits = NULL, string * pStrXLongName = NULL )
TRUE if column is even sampling, FALSE otherwise.
EX1
void Column_IsEvenSampling_Ex1() { Worksheet wks = Project.ActiveLayer(); Column col = wks.Columns(0); double dX0, dXInc; string strXUnits, strXLongName; if( col.IsEvenSampling(&dX0, &dXInc, strXUnits, strXLongName) ) { printf("Column %s is even sampling.\n", col.GetName()); printf("Start == %f\nIncrement == %f\nUnits == %s\nLong Name == %s\n", dX0, dXInc, strXUnits, strXLongName); } else printf("Column %s is not even sampling.\n", col.GetName()); }
origin.h