| 1 | = GetCurUnitsLabel = |
| 2 | Get the current units label of the specified scale. |
| 3 | |
| 4 | {{{ |
| 5 | const char* GetCurUnitsLabel(int nScale); |
| 6 | }}} |
| 7 | |
| 8 | == Parameters == |
| 9 | |
| 10 | * nScale - scale number |
| 11 | |
| 12 | == Return Value == |
| 13 | |
| 14 | * Returns the current units label of the specified scale |
| 15 | |
| 16 | == Remarks == |
| 17 | |
| 18 | MnBdStartup must be performed before this will return a valid result. |
| 19 | |
| 20 | == Example == |
| 21 | |
| 22 | {{{ |
| 23 | string strMsg = StrFmt("Current units %s", GetCurUnitsLabel(1)); |
| 24 | DisplayText(10, 10, strMsg); |
| 25 | }}} |
| 26 | |
| 27 | |
| 28 | == See Also == |
| 29 | |
| 30 | * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/GetUnitsLabel GetUnitsLabel] |
| 31 | * [http://tech.825spectrum.com/trac/wiki/Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/GetSecUnitsLabel GetSecUnitsLabel] |
| 32 | |