This function return a DateTime higher precision display format according to Axis specified
int GetDateTimeHigherPrecisionDisplayFormat( string & str, LPCSTR lpcszAxis )
Return OULABEL_DATE or OULABEL_TIME if succeed, otherwise -1.
EX1
void GraphLayer_GetDateTimeHigherPrecisionDisplayFormat_ex1() { GraphLayer gl = Project.ActiveLayer(); if( !gl.IsValid() ) return; string str; int nRet = gl.GetDateTimeHigherPrecisionDisplayFormat(str, "X"); printf("GetDateTimeHigherPrecisionDisplayFormat: %s, return: %d\n", str, nRet); }
origin.h