Share via


Scale.CapZeroScale Property

Indicates whether an application can set scale weight to zero.

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

Usage

'Usage
Dim scale1 As Scale

Dim returnValue As Boolean
returnValue = scale1.CapZeroScale

Syntax

'Declaration
Public MustOverride ReadOnly Property CapZeroScale() As Boolean
public abstract bool CapZeroScale {get;}
public: property virtual Boolean CapZeroScale{
    Boolean get();
}
public abstract boolean get_CapZeroScale();
public abstract function get CapZeroScale() : Boolean;

Remarks

Set to TRUE if the application can set the scale weight to zero. Otherwise it is FALSE, indicating that the scale does not support programmatic zeroing.

CapZeroScale is typically initialized to FALSE. It should then be updated by the service object based on the capabilities of the device.

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
ZeroScale