Share via


Scale.ZeroScale Method

Used to set the scale weight to zero.

Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)

Usage

'Usage
Dim scale1 As Scale
scale1.ZeroScale()

Syntax

'Declaration
Public MustOverride Sub ZeroScale()
public abstract void ZeroScale();
public: abstract Void ZeroScale();
public abstract void ZeroScale();
public abstract function ZeroScale() : Void;

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 returns void if successful, and it can throw the following exceptions:

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.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000

Target Platforms

See Also

Reference

Scale Class
Scale Members
Microsoft.PointOfService Namespace
CapZeroScale