wiki:Docs/Prog/Manual/ApplicationLibraries/lib825ev/Weight/GetUnitsLabel

Version 1 (modified by Don Wilson, 14 years ago) ( diff )

--

GetUnitsLabel

Get the primary units label of the specified scale.

const char* GetUnitsLabel(int nScale);

Parameters

  • nScale - scale number

Return Value

  • Returns the primary units label of the specified scale

Remarks

MnBdStartup must be performed before this will return a valid result.

Example

string strMsg = StrFmt("Primary units %s", GetUnitsLabel(1));
DisplayText(10, 10, strMsg);

See Also

Note: See TracWiki for help on using the wiki.