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

GetCapacity

Get the capacity of the specified scale.

float GetCapacity(int nScale);

Parameters

  • nScale - scale number

Return Value

  • Returns the capacity of the specified scale

Remarks

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

Example

float fCap;
fCap = GetCapacity(1);
string strMsg = StrFmt("Scale capacity %g", fCap);
DisplayText(10, 10, strMsg);

See Also

Last modified 7 years ago Last modified on 04/12/18 12:48:23
Note: See TracWiki for help on using the wiki.