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

Version 2 (modified by Don Wilson, 6 years ago) ( diff )

--

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

Note: See TracWiki for help on using the wiki.