Scale.ZeroScale Method
2/27/2008
Sets the scale weight to zero.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Syntax
'Declaration
Public MustOverride Sub ZeroScale
public abstract void ZeroScale ()
public:
virtual void ZeroScale () abstract
public abstract void ZeroScale ()
public abstract function ZeroScale ()
Remarks
ZeroScale can be used for initial calibration, or to account for tare weight on the scale. Can be called only if CapZeroScale is true.
ZeroScale may cause a PosControlException to be thrown with the following ErrorCode:
Value |
Meaning |
Illegal |
Scale zeroing is not supported. |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.
See Also
Reference
Scale Class
Scale Members
Microsoft.PointOfService Namespace
CapZeroScale