【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.4.17.17 GraphLayer::GetDateTimeHigherPrecisionDisplayFormat
Contents
Description
This function return a DateTime higher precision display format according to Axis specified
Syntax
int GetDateTimeHigherPrecisionDisplayFormat( string & str, LPCSTR lpcszAxis )
Parameters
- str
- [output] display format
- lpcszAxis
- [input] axis represent by "X", "Y", "Z"
Return
Return OULABEL_DATE or OULABEL_TIME if succeed, otherwise -1.
Examples
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); }
Remark
See Also
Header to Included
origin.h